#include <Domain.H>
Public Types | |
typedef GridT | GridType |
typedef StateT | StateType |
typedef GridType::HaloType | HaloType |
typedef boundary::base | BoundaryType |
typedef boundary::bc::base | BCType |
typedef StateType::MetaDataSetType | DataDictionaryType |
typedef plascom2::operators::sbp::base | OperatorType |
typedef simulation::rhs::domain_base< GridType, StateType, OperatorType > | RHSType |
typedef std::vector< GridType * > | gridvector |
typedef std::vector< StateType * > | statevector |
typedef std::vector< RHSType * > | rhsvector |
Public Member Functions | |
base () | |
StateType & | State (int iGrid) |
StateType & | Target (int iGrid) |
StateType & | Param (int iGrid) |
GridType & | Grid (int iGrid) |
RHSType & | RHS (int iGrid) |
gridvector & | Grids () |
statevector & | States () |
statevector & | Targets () |
statevector & | Params () |
rhsvector & | RHSs () |
std::vector< BoundaryType > & | GridBoundaries (int iGrid) |
std::vector< BoundaryType > & | DomainBoundary (int iGrid) |
std::vector< std::vector< BoundaryType > > & | DomainBoundaries () |
const std::vector< std::string > & | BCNames () const |
const std::vector< std::string > & | BoundaryNames () const |
void | SetGrid (int gridIndex, GridType &inGrid) |
void | SetGridState (int gridIndex, StateType &inState) |
void | SetGridTarget (int gridIndex, StateType &inState) |
void | SetGridParams (int gridIndex, StateType ¶mState) |
std::string | Name () const |
void | SetGlobal (pcpp::ParallelGlobalType &inGlobal) |
int | SetNumGrids (int numberOfGrids) |
int | ConfigureDomain (fixtures::ConfigurationType &inConfig, std::ostream &inMessageStream) |
int | ConfigureGridDomainBoundaries (fixtures::ConfigurationType &inConfig, int iGrid, std::ostream &inMessageStream) |
int | CreateData (std::ostream &messageStream) |
int | CreateData (int gridIndex, std::ostream &messageStream) |
int | GetGridIndex (const std::string &gridName) const |
int | NumberOfGrids () |
int | NumberOfLocalGrids () |
std::vector< int > & | LocalGridIndices () |
int | LocalGridIndex (int localGridIndex) |
std::string | Report () |
DataDictionaryType & | StateDictionary () |
DataDictionaryType & | ParamDictionary () |
void | PopulateGridMeta (DataDictionaryType &gridMeta) |
void | PopulateGridParamMeta (DataDictionaryType &gridMeta) |
void | PopulateDomainStateMeta () |
void | PopulateDomainParamMeta () |
fixtures::ConfigurationType & | Config () |
std::vector< std::string > & | GeometryNames () |
std::vector< std::string > & | GridNames () |
std::string | GridName (int iGrid) |
std::vector< std::string > | IOFieldNames () |
void | SetSpatialOrder (int inOrder) |
int | SpatialOrder () |
void | SetTime (double inTime) |
double | Time () |
OperatorType & | Operator () |
const OperatorType & | Operator () const |
void | SetMessageStream (std::ostream &inStream) |
std::vector< BCType > & | BCs () |
const std::vector< BCType > & | BCs () const |
RHSType & | RHS () |
int | SetRHS (RHSType &inRHS) |
int | SetRHS (int gridIndex, RHSType &inRHS) |
fixtures::CommunicatorType & | Communicator () |
fixtures::CommunicatorType & | GridCommunicator (int gridIndex) |
std::vector< fixtures::CommunicatorType > & | GridCommunicators () |
fixtures::CommunicatorType & | SetCommunicator (fixtures::CommunicatorType &inCommunicator) |
int | PartitionDomain (int inOptions=0) |
int | InitializeRHS (int inOptions) |
int | Step () |
void | SetStep (int inStep) |
double | TimeStep (double *outCFL=NULL) |
void | ComputeDV (int threadId=0) |
int | SetNumThreads (int numThreads) |
int | SetDomainBCs () |
int | InitThreads () |
int | FinalizeAdvance (double newTime) |
void | SetGeometryInfo (geometry::info &geometryInfo) |
void | SetScalarNames (const std::string &inNames) |
std::vector< std::string > & | ScalarNames () |
const std::vector< std::string > & | ScalarNames () const |
Friends | |
template<typename DomainT > | |
class | DomainInitializer |
typedef boundary::bc::base BCType |
typedef boundary::base BoundaryType |
typedef StateType::MetaDataSetType DataDictionaryType |
typedef std::vector<GridType*> gridvector |
typedef std::vector<StateType*> statevector |
|
inline |
Definition at line 91 of file Domain.H.
References simulation::domain::boundary::bc::bcNames.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 145 of file Domain.H.
References base::BCName(), simulation::domain::boundary::bc::bcNames, bcParams, base::BCType(), pcpp::util::ConfigKey(), ConfigStateValues(), pcpp::util::ConfigureDataDictionary(), pcpp::util::ExtractConfigParams(), Parameters::GetValue(), simulation::domain::boundary::bc::HOLE, plascom2::operators::sbp::Initialize(), base::ParamDictionary(), base::Params(), simulation::domain::boundary::bc::ResolveBCName(), navierstokes::scalarNames(), base::SetBCName(), base::SetBCType(), and base::StateDictionary().
|
inline |
Definition at line 350 of file Domain.H.
References base::BCName(), simulation::domain::boundary::bc::bcNames, pcpp::util::ConfigKey(), simulation::report::Grid(), base::SetBC(), base::SetGrid(), base::SetGridRegionID(), base::SetName(), and x.
|
inline |
Definition at line 459 of file Domain.H.
References bufferSizes, pcpp::util::ConfigKey(), ConfigStateValues(), apptools::DumpContents(), and numPointsBuffer.
|
inline |
Definition at line 527 of file Domain.H.
References bufferSizes, pcpp::util::ConfigKey(), ConfigStateValues(), apptools::DumpContents(), simulation::report::Grid(), and numPointsBuffer.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 768 of file Domain.H.
References gridSizes, and ix::util::SortPermutation().
|
inline |
|
inline |
|
inline |
Definition at line 604 of file Domain.H.
References base::BCName(), simulation::domain::boundary::bc::bcNames, bufferSizes, apptools::DumpContents(), gridSizes, numPointsBuffer, base::ParamDictionary(), sizeextent::PrettyPrint(), metadataset::Report(), and base::StateDictionary().
|
inline |
Definition at line 988 of file Domain.H.
References navierstokes::scalarNames().
|
inline |
Definition at line 989 of file Domain.H.
References navierstokes::scalarNames().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 987 of file Domain.H.
References navierstokes::scalarNames().
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |