Inheritance diagram for GridConstructionX:
Public Methods | |
GridConstructionX (const string &object_name, tbox_Pointer< SAMRAI::tbox_Database > database) | |
Constructor. More... | |
int | registerVariablesWithPlotter (SAMRAI::tbox_Pointer< SAMRAI::plot_CartesianVizamraiDataWriterX > viz_writer) |
Tell a plotter which data to write for this class. More... | |
GridConstructionX (const string &object_name, tbox_Pointer< SAMRAI::tbox_Database > database) | |
Constructor. More... | |
int | registerVariablesWithPlotter (SAMRAI::tbox_Pointer< SAMRAI::plot_CartesianVizamraiDataWriterX > viz_writer) |
Tell a plotter which data to write for this class. More... | |
SAMRAI::mesh_StandardTagAndInitStrategyX virtuals | |
virtual void | initializeLevelData (const tbox_Pointer< SAMRAI::hier_PatchHierarchyX > hierarchy, const int level_number, const double init_data_time, const bool can_be_refined, const bool initial_time, const tbox_Pointer< SAMRAI::hier_PatchLevelX > old_level=tbox_Pointer< SAMRAI::hier_PatchLevelX >((0)), const bool allocate_data=true) |
Allocate and initialize data for a new level in the patch hierarchy. More... | |
virtual void | resetHierarchyConfiguration (const SAMRAI::tbox_Pointer< SAMRAI::hier_PatchHierarchyX > hierarchy, const int coarsest_level, const int finest_level) |
SAMRAI::mesh_StandardTagAndInitStrategyX virtuals | |
virtual void | initializeLevelData (const tbox_Pointer< SAMRAI::hier_PatchHierarchyX > hierarchy, const int level_number, const double init_data_time, const bool can_be_refined, const bool initial_time, const tbox_Pointer< SAMRAI::hier_PatchLevelX > old_level=tbox_Pointer< SAMRAI::hier_PatchLevelX >((0)), const bool allocate_data=true) |
Allocate and initialize data for a new level in the patch hierarchy. More... | |
virtual void | resetHierarchyConfiguration (const SAMRAI::tbox_Pointer< SAMRAI::hier_PatchHierarchyX > hierarchy, const int coarsest_level, const int finest_level) |
Private Attributes | |
Private state variables for solution. | |
Included in this group are examples of the types of variables that can live on a SAMRAI mesh.
Nevermind the significance of d_context_all for now. Contexts are not usefully employed in this tutorial. | |
SAMRAI::hier_VariableContext | d_context_all |
Context for everything. More... | |
SAMRAI::pdat_CellVariableX< double > | d_constitutive |
Constitutive variable. More... | |
SAMRAI::pdat_CellVariableX< double > | d_scalar |
Scalar variable. More... | |
SAMRAI::pdat_CellVariableX< double > | d_vector |
Vector variable. More... | |
Private state variables for solution. | |
Included in this group are examples of the types of variables that can live on a SAMRAI mesh.
Nevermind the significance of d_context_all for now. Contexts are not usefully employed in this tutorial. | |
SAMRAI::pdat_CellVariableX< double > | d_constitutive |
Constitutive variable. More... | |
SAMRAI::pdat_CellVariableX< double > | d_scalar |
Scalar variable. More... | |
SAMRAI::pdat_CellVariableX< double > | d_vector |
Vector variable. More... |
This class demonstrates how to construct a grid, create variables on it and write the variables out for plotting.
This class inherits and implements virtual functions from SAMRAI::mesh_StandardTagAndInitStrategyX to initialize data on the SAMR grid.
Definition at line 45 of file GridConstructionX.h.sed.
|
Constructor.
Requirements:
|
|
Constructor.
Requirements:
|
|
Allocate and initialize data for a new level in the patch hierarchy.
This is where you implement the code for initialize data on the grid. Nevermind when it is called or where in the program that happens. All the information you need to initialize the grid are in the arguments.
|
|
Allocate and initialize data for a new level in the patch hierarchy.
This is where you implement the code for initialize data on the grid. Nevermind when it is called or where in the program that happens. All the information you need to initialize the grid are in the arguments.
|
|
Tell a plotter which data to write for this class.
|
|
Tell a plotter which data to write for this class.
Referenced by main(). |
|
Definition at line 98 of file GridConstructionX.h.sed. |
|
Definition at line 98 of file GridConstructionX.h.sed. References d_context_all. |
|
Constitutive variable.
This could be some grid-fixed variable (such as permitivity and permeability in the case of electromagnetics). We will actually set it so something that is usefull in this tutorial: the level and patch numbers. Definition at line 149 of file GridConstructionX.h.sed. |
|
Constitutive variable.
This could be some grid-fixed variable (such as permitivity and permeability in the case of electromagnetics). We will actually set it so something that is usefull in this tutorial: the level and patch numbers. Definition at line 149 of file GridConstructionX.h.sed. |
|
Context for everything.
Special contexts are not used here, so get just one context for everythying. Definition at line 139 of file GridConstructionX.h.sed. Referenced by resetHierarchyConfiguration(). |
|
Scalar variable.
Definition at line 154 of file GridConstructionX.h.sed. |
|
Scalar variable.
Definition at line 154 of file GridConstructionX.h.sed. |
|
Vector variable.
Definition at line 159 of file GridConstructionX.h.sed. |
|
Vector variable.
Definition at line 159 of file GridConstructionX.h.sed. |