GalSim-developers/GalSim — pull request #209 by rmjarvis (2012-06-29 18:07:26+00:00)
Title: #184 Split up SBProfile files

I split up SBProfile.h into the following files:
SBProfile.h has the public interface for the base class
SBProfileImpl.h has the subclass for the implementation details.
SBAdd.h has the public interface for SBAdd.
SBAddImpl.h has its implementation class.
... Likewise for the other derived classes.
SBDeVaucouleurs is really just a subclass of SBSersic, so I left its definition in SBSersic.h.

I split up src/SBProfile.cpp into the following files:
SBProfile.cpp has the functions that are defined in the base class, like draw, drawShoot, setFlux, etc.
SBAdd.cpp has all the implementation code for SBAdd
... Likewise for the other derived classes.

I split up pysrc/SBProfile.cpp the same way.

There's no real code changes in this pull request, so you don't need to pore through the diff (which will probably be enormous). All the code is the same -- a lot of it has just been moved to different file names. But checking that everything still compiles and links correctly is probably worthwhile. I checked a few compilers, so it's probably fine, but you never know if one of them might be finicky about something....