The way I think of it is that The Fountainhead is a novel that was informed by Rand's philosophy. Atlas Shrugged is Rand's philosophy in the form of a novel.
One of my professors in grad school was extremely liberal but loved Fountainhead and would defend it on the rare occasions that it came up.