Skip to content

Commit

Permalink
Merge pull request #247 from LLNL/feature/dayton8/cleanup
Browse files Browse the repository at this point in the history
Remove unnecessary forward declarations
  • Loading branch information
mdavis36 authored Jan 12, 2024
2 parents 1c1c820 + 8fa12e9 commit bd4ddaa
Show file tree
Hide file tree
Showing 313 changed files with 1 addition and 2,212 deletions.
7 changes: 0 additions & 7 deletions src/ArtificialConduction/ArtificialConduction.hh
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,4 @@ private:

}

#else

// Fwd Declaration
namespace Spheral{
template<typename Dimension> class ArtificialConduction;
}

#endif
7 changes: 0 additions & 7 deletions src/ArtificialConduction/ArtificialConductionPolicy.hh
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,4 @@ private:

}

#else

// Forward declaration.
namespace Spheral {
template<typename Dimension> class ArtificialConductionPolicy;
}

#endif
7 changes: 0 additions & 7 deletions src/ArtificialViscosity/ArtificialViscosity.hh
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,4 @@ private:

#include "ArtificialViscosityInline.hh"

#else

namespace Spheral {
// Forward declaration.
template<typename Dimension> class ArtificialViscosity;
}

#endif
7 changes: 0 additions & 7 deletions src/ArtificialViscosity/ArtificialViscosityList.hh
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,4 @@ private:
};
}

#else

namespace Spheral {
// Forward declaration.
template<typename Dimension> class ArtificialViscosityList;
}

#endif
7 changes: 0 additions & 7 deletions src/ArtificialViscosity/CheapVonNeumanViscosity.hh
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,4 @@ private:

}

#else

namespace Spheral {
// Forward declaration.
template<typename Dimension> class CheapVonNeumanViscosity;
}

#endif
7 changes: 0 additions & 7 deletions src/ArtificialViscosity/CullenDehnenViscosity.hh
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,4 @@ private:

#include "CullenDehnenViscosityInline.hh"

#else

namespace Spheral {
// Forward declaration.
template<typename Dimension> class CullenDehnenViscosity;
}

#endif
7 changes: 0 additions & 7 deletions src/ArtificialViscosity/FiniteVolumeViscosity.hh
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,4 @@ private:

}

#else

namespace Spheral {
// Forward declaration.
template<typename Dimension> class FiniteVolumeViscosity;
}

#endif
7 changes: 0 additions & 7 deletions src/ArtificialViscosity/GradPressureViscosity.hh
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,4 @@ private:

}

#else

namespace Spheral {
// Forward declaration.
template<typename Dimension> class GradPressureViscosity;
}

#endif
7 changes: 0 additions & 7 deletions src/ArtificialViscosity/IncrementCullenMultipliers.hh
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,4 @@ private:

}

#else

// Forward declaration.
namespace Spheral {
template<typename Dimension, typename DataType, typename BoundValueType> class IncrementCullenMultipliers;
}

#endif
7 changes: 0 additions & 7 deletions src/ArtificialViscosity/LimitedMonaghanGingoldViscosity.hh
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,4 @@ private:

}

#else

namespace Spheral {
// Forward declaration.
template<typename Dimension> class LimitedMonaghanGingoldViscosity;
}

#endif
7 changes: 0 additions & 7 deletions src/ArtificialViscosity/LimitedMonaghanGingoldViscosityRZ.hh
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,4 @@ private:

}

#else

namespace Spheral {
// Forward declaration.
class LimitedMonaghanGingoldViscosityRZ;
}

#endif
7 changes: 0 additions & 7 deletions src/ArtificialViscosity/MASHVonNeumanViscosity.hh
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,4 @@ correction() const {

}

#else

namespace Spheral {
// Forward declaration.
template<typename Dimension> class VonNeumanViscosity;
}

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,4 @@ private:

}

#else

namespace Spheral {
// Forward declaration.
template<typename Dimension> class MonaghanGingoldKurapatenkoViscosity;
}

#endif
7 changes: 0 additions & 7 deletions src/ArtificialViscosity/MonaghanGingoldSumViscosity.hh
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,4 @@ viscousInternalEnergyField() const {

}

#else

namespace Spheral {
// Forward declaration.
template<typename Dimension> class MonaghanGingoldSumViscosity;
}

#endif
7 changes: 0 additions & 7 deletions src/ArtificialViscosity/MonaghanGingoldViscosity.hh
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,4 @@ private:

}

#else

namespace Spheral {
// Forward declaration.
template<typename Dimension> class MonaghanGingoldViscosity;
}

#endif
7 changes: 0 additions & 7 deletions src/ArtificialViscosity/MonaghanGingoldViscosityGSRZ.hh
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,4 @@ private:

}

#else

// Forward declaration.
namespace Spheral {
class MonaghanGingoldViscosityGSRZ;
}

#endif
7 changes: 0 additions & 7 deletions src/ArtificialViscosity/MonaghanGingoldViscosityRZ.hh
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,4 @@ private:

}

#else

// Forward declaration.
namespace Spheral {
class MonaghanGingoldViscosityRZ;
}

#endif
7 changes: 0 additions & 7 deletions src/ArtificialViscosity/MorrisMonaghanReducingViscosity.hh
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,4 @@ private:

}

#else

namespace Spheral {
// Forward declaration.
template<typename Dimension> class MorrisMonaghanReducingViscosity;
}

#endif
7 changes: 0 additions & 7 deletions src/ArtificialViscosity/NohViscosity.hh
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,4 @@ private:

}

#else

namespace Spheral {
// Forward declaration.
template<typename Dimension> class NohViscosity;
}

#endif
7 changes: 0 additions & 7 deletions src/ArtificialViscosity/RadialViscosity.hh
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,4 @@ private:

}

#else

namespace Spheral {
// Forward declaration.
template<typename Dimension> class RadialViscosity;
}

#endif
7 changes: 0 additions & 7 deletions src/ArtificialViscosity/TensorCRKSPHViscosity.hh
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,4 @@ private:

}

#else

// Forward declaration.
namespace Spheral {
template<typename Dimension> class TensorCRKSPHViscosity;
}

#endif
7 changes: 0 additions & 7 deletions src/ArtificialViscosity/TensorMonaghanGingoldViscosity.hh
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,4 @@ private:

}

#else

// Forward declaration.
namespace Spheral {
template<typename Dimension> class TensorMonaghanGingoldViscosity;
}

#endif
7 changes: 0 additions & 7 deletions src/ArtificialViscosity/TensorSVPHViscosity.hh
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,4 @@ private:

}

#else

// Forward declaration.
namespace Spheral {
template<typename Dimension> class TensorSVPHViscosity;
}

#endif
7 changes: 0 additions & 7 deletions src/ArtificialViscosity/VonNeumanViscosity.hh
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,4 @@ protected:

}

#else

namespace Spheral {
// Forward declaration.
template<typename Dimension> class VonNeumanViscosity;
}

#endif
7 changes: 0 additions & 7 deletions src/Boundary/AxisBoundaryRZ.hh
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,4 @@ private:

}

#else

// Forward declaration.
namespace Spheral {
class AxisBoundaryRZ;
}

#endif
7 changes: 0 additions & 7 deletions src/Boundary/Boundary.hh
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,4 @@ private:

#include "BoundaryInline.hh"

#else

namespace Spheral {
// Forward declaration.
template<typename Dimension> class Boundary;
}

#endif
7 changes: 0 additions & 7 deletions src/Boundary/CRKSPHVoidBoundary.hh
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,4 @@ private:

}

#else

namespace Spheral {
// Forward declaration.
template<typename Dimension> class CRKSPHVoidBoundary;
}

#endif
7 changes: 0 additions & 7 deletions src/Boundary/ConstantBoundary.hh
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,4 @@ private:

#include "ConstantBoundaryInline.hh"

#else

// Forward declaration.
namespace Spheral {
template<typename Dimension> class ConstantBoundary;
}

#endif
7 changes: 0 additions & 7 deletions src/Boundary/ConstantRVelocityBoundary.hh
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,4 @@ private:

}

#else

// Forward declaration.
namespace Spheral {
template<typename Dimension> class ConstantRVelocityBoundary;
}

#endif
7 changes: 0 additions & 7 deletions src/Boundary/ConstantVelocityBoundary.hh
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,4 @@ private:

#include "ConstantVelocityBoundaryInline.hh"

#else

// Forward declaration.
namespace Spheral {
template<typename Dimension> class ConstantVelocityBoundary;
}

#endif
7 changes: 0 additions & 7 deletions src/Boundary/ConstantXVelocityBoundary.hh
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,4 @@ public:

}

#else

// Forward declaration.
namespace Spheral {
template<typename Dimension> class ConstantXVelocityBoundary;
}

#endif
7 changes: 0 additions & 7 deletions src/Boundary/ConstantYVelocityBoundary.hh
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,4 @@ public:

}

#else

// Forward declaration.
namespace Spheral {
template<typename Dimension> class ConstantYVelocityBoundary;
}

#endif
7 changes: 0 additions & 7 deletions src/Boundary/ConstantZVelocityBoundary.hh
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,4 @@ public:

}

#else

// Forward declaration.
namespace Spheral {
template<typename Dimension> class ConstantZVelocityBoundary;
}

#endif
Loading

0 comments on commit bd4ddaa

Please sign in to comment.