#include <source/transfer/operators/Geometry.h>
Inheritance diagram for SAMRAI::xfer::Geometry< DIM >:
Public Member Functions | |
Geometry (const std::string &object_name) | |
virtual | ~Geometry () |
virtual void | addSpatialCoarsenOperator (tbox::Pointer< CoarsenOperator< DIM > > coarsen_op) |
virtual void | addSpatialRefineOperator (tbox::Pointer< RefineOperator< DIM > > refine_op) |
virtual void | addTimeInterpolateOperator (tbox::Pointer< TimeInterpolateOperator< DIM > > time_op) |
virtual tbox::Pointer< CoarsenOperator< DIM > > | lookupCoarsenOperator (const tbox::Pointer< hier::Variable< DIM > > &var, const std::string &op_name) const |
virtual tbox::Pointer< RefineOperator< DIM > > | lookupRefineOperator (const tbox::Pointer< hier::Variable< DIM > > &var, const std::string &op_name) const |
virtual tbox::Pointer< TimeInterpolateOperator< DIM > > | lookupTimeInterpolateOperator (const tbox::Pointer< hier::Variable< DIM > > &var, const std::string &op_name="STD_LINEAR_TIME_INTERPOLATE") const |
virtual void | printClassData (std::ostream &os) const |
SAMRAI::xfer::Geometry< DIM >::Geometry | ( | const std::string & | object_name | ) |
Constructor for Geometry class just passes the object_name to the hier::GridGeometry parent class.
SAMRAI::xfer::Geometry< DIM >::~Geometry | ( | ) | [virtual] |
The virtual destructor for the geometry base class does nothing interesting.
void SAMRAI::xfer::Geometry< DIM >::addSpatialCoarsenOperator | ( | tbox::Pointer< CoarsenOperator< DIM > > | coarsen_op | ) | [virtual] |
Add concrete spatial coarsening operator instance to appropriate lookup list. Note that each concrete operator must implement a lookup function through which it can be identified.
void SAMRAI::xfer::Geometry< DIM >::addSpatialRefineOperator | ( | tbox::Pointer< RefineOperator< DIM > > | refine_op | ) | [virtual] |
Add concrete spatial refinement operator instance to appropriate lookup list. Note that each concrete operator must implement a lookup function through which it can be identified.
void SAMRAI::xfer::Geometry< DIM >::addTimeInterpolateOperator | ( | tbox::Pointer< TimeInterpolateOperator< DIM > > | time_op | ) | [virtual] |
Add concrete time interpolation operator instance to appropriate lookup list. Note that each concrete operator must implement a lookup function through which it can be identified.
tbox::Pointer< CoarsenOperator< DIM > > SAMRAI::xfer::Geometry< DIM >::lookupCoarsenOperator | ( | const tbox::Pointer< hier::Variable< DIM > > & | var, | |
const std::string & | op_name | |||
) | const [virtual] |
Search list for the spatial coarsening operator matching the request for the given variable. If the operator is found, a pointer to it will be returned. Otherwise, an unrecoverable error will result and the program will abort.
tbox::Pointer< RefineOperator< DIM > > SAMRAI::xfer::Geometry< DIM >::lookupRefineOperator | ( | const tbox::Pointer< hier::Variable< DIM > > & | var, | |
const std::string & | op_name | |||
) | const [virtual] |
Search list for the spatial refinement operator matching the request for the given variable. If the operator is found, a pointer to it will be returned. Otherwise, an unrecoverable error will result and the program will abort.
tbox::Pointer< TimeInterpolateOperator< DIM > > SAMRAI::xfer::Geometry< DIM >::lookupTimeInterpolateOperator | ( | const tbox::Pointer< hier::Variable< DIM > > & | var, | |
const std::string & | op_name = "STD_LINEAR_TIME_INTERPOLATE" | |||
) | const [virtual] |
Search list for the time interpolation operator matching the request for the given variable. If the operator is found, a pointer to it will be returned. Otherwise, an unrecoverable error will result and the program will abort.
void SAMRAI::xfer::Geometry< DIM >::printClassData | ( | std::ostream & | os | ) | const [virtual] |
Print class data representation.
Reimplemented from SAMRAI::hier::GridGeometry< DIM >.
Reimplemented in SAMRAI::geom::CartesianGridGeometry< DIM >, SAMRAI::geom::BlockGridGeometry< DIM >, and SAMRAI::geom::SkeletonGridGeometry< DIM >.