Class muParserCartGridFunction is an implementation of the strategy class CartGridFunction that allows for the run-time specification of (possibly spatially- and temporally-varying) functions which are used to set double precision values on standard SAMRAI SAMRAI::hier::PatchData objects.
#include <ibtk/muParserCartGridFunction.h>
|
| virtual void | setDataOnPatchHierarchy (int data_idx, SAMRAI::tbox::Pointer< SAMRAI::hier::Variable< NDIM > > var, SAMRAI::tbox::Pointer< SAMRAI::hier::PatchHierarchy< NDIM > > hierarchy, double data_time, bool initial_time=false, int coarsest_ln=invalid_level_number, int finest_ln=invalid_level_number) |
| | Evaluate the function on the patch interiors on the specified levels of the patch hierarchy using the virtual function setDataOnPatch(). More...
|
| |
| virtual void | setDataOnPatchLevel (int data_idx, SAMRAI::tbox::Pointer< SAMRAI::hier::Variable< NDIM > > var, SAMRAI::tbox::Pointer< SAMRAI::hier::PatchLevel< NDIM > > patch_level, double data_time, bool initial_time=false) |
| | Evaluate the function on the patch interiors on the specified level of the patch hierarchy using the virtual function setDataOnPatch(). More...
|
| |
| std::string | d_object_name |
| |
◆ muParserCartGridFunction() [1/3]
◆ ~muParserCartGridFunction()
| IBTK::muParserCartGridFunction::~muParserCartGridFunction |
( |
| ) |
|
|
default |
◆ muParserCartGridFunction() [2/3]
| IBTK::muParserCartGridFunction::muParserCartGridFunction |
( |
| ) |
|
|
privatedelete |
- Note
- This constructor is not implemented and should not be used.
◆ muParserCartGridFunction() [3/3]
- Note
- This constructor is not implemented and should not be used.
- Parameters
-
| from | The value to copy to this object. |
◆ isTimeDependent()
| bool IBTK::muParserCartGridFunction::isTimeDependent |
( |
| ) |
const |
|
overridevirtual |
◆ setDataOnPatch()
◆ operator=()
- Note
- This operator is not implemented and should not be used.
- Parameters
-
| that | The value to assign to this object. |
- Returns
- A reference to this object.
◆ setDataOnPatchHierarchy()
◆ setDataOnPatchLevel()
◆ d_grid_geom
The Cartesian grid geometry object provides the extents of the computational domain.
◆ d_constants
| std::map<std::string, double> IBTK::muParserCartGridFunction::d_constants |
|
private |
User-provided constants specified in the input file.
◆ d_function_strings
| std::vector<std::string> IBTK::muParserCartGridFunction::d_function_strings |
|
private |
The strings providing the data-setting functions which are evaluated by the mu::Parser objects.
◆ d_parsers
| std::vector<mu::Parser> IBTK::muParserCartGridFunction::d_parsers |
|
private |
The mu::Parser objects which evaluate the data-setting functions.
◆ d_parser_time
| double IBTK::muParserCartGridFunction::d_parser_time = 0.0 |
|
private |
Time and position variables.
◆ d_parser_posn
| Point IBTK::muParserCartGridFunction::d_parser_posn |
|
private |
◆ d_object_name
| std::string IBTK::CartGridFunction::d_object_name |
|
protectedinherited |
The documentation for this class was generated from the following file: