34 return std::unique_ptr<General>(
doClone());
50 std::string
Line = Pstr;
53 (tolower(item[0]) !=
'g' && tolower(item[0] !=
's')) || tolower(item[1]) !=
'q')
63 if (tolower(item[0]) ==
'g') {
64 for (
int i = 0; i < 10; i++)
79 Quadratic::BaseEqn[9] = num[0] * num[7] * num[7] + num[1] * num[8] * num[8] + num[2] * num[9] * num[9] -
80 2.0 * (num[3] * num[7] + num[4] * num[8] + num[5] * num[9]) + num[6];
std::map< DeltaEMode::Type, std::string > index
#define UNUSED_ARG(x)
Function arguments are sometimes unused in certain implmentations but are required for documentation ...
Holds a general quadratic surface.
int setSurface(const std::string &) override
Processes a standard MCNPX general string (GQ/SQ types) Despite type, moves both to the general equat...
void setBaseEqn() override
Set baseEqn (nothing to do) as it is already a baseEqn driven system.
void getBoundingBox(double &xmax, double &ymax, double &zmax, double &xmin, double &ymin, double &zmin) override
bounding box for the surface
std::unique_ptr< General > clone() const
Makes a clone (implicit virtual copy constructor)
General()
Standard Constructor.
General * doClone() const override
Makes a clone (implicit virtual copy constructor)
Holds a basic quadratic surface.
std::vector< double > BaseEqn
Base equation (as a 10 point vector)
int section(std::string &A, T &out)
Convert and cut a string.