PlasCom2  1.0
XPACC Multi-physics simluation application
domain_base< GridT, StateT, OperatorT > Class Template Reference

Detailed Description

template<typename GridT, typename StateT, typename OperatorT>
class simulation::rhs::domain_base< GridT, StateT, OperatorT >

Definition at line 38 of file RHS.H.

#include <RHS.H>

Public Types

typedef GridT GridType
 
typedef StateT StateType
 
typedef OperatorT OperatorType
 
typedef simulation::grid::halo halo_t
 
typedef simulation::domain::boundary::base BoundaryType
 
typedef simulation::domain::boundary::bc::base BCType
 
typedef pcpp::ParallelGlobalType GlobalType
 

Public Member Functions

virtual int Initialize (GridType &inGrid, StateType &inState, StateType &inParam, OperatorType &inOperator)
 
virtual int Initialize (GridType &inGrid, StateType &inState, StateType &inParam, StateType &targetState, OperatorType &inOperator)
 
virtual int SetupRHS (GridType &inGrid, StateType &inState, StateType &rhsState, int threadId)
 
virtual int RHS (int threadId)
 
virtual double TimeStep (double *outCFL=NULL)
 
virtual void SetGlobal (GlobalType &inGlobal)
 
virtual void SetDomainBCs (std::vector< BoundaryType > &domainBoundaries, std::vector< BCType > &domainBCs)
 
virtual int InitThreadIntervals ()
 
virtual int ComputeDV (int threadId=0)
 

Protected Attributes

GlobalTypeglobalPtr
 
Inheritance diagram for domain_base< GridT, StateT, OperatorT >:
Collaboration diagram for domain_base< GridT, StateT, OperatorT >:

Member Typedef Documentation

◆ BCType

Definition at line 47 of file RHS.H.

◆ BoundaryType

Definition at line 46 of file RHS.H.

◆ GlobalType

Definition at line 48 of file RHS.H.

◆ GridType

typedef GridT GridType

Definition at line 41 of file RHS.H.

◆ halo_t

Definition at line 45 of file RHS.H.

◆ OperatorType

typedef OperatorT OperatorType

Definition at line 43 of file RHS.H.

◆ StateType

typedef StateT StateType

Definition at line 42 of file RHS.H.

Member Function Documentation

◆ ComputeDV()

virtual int ComputeDV ( int  threadId = 0)
inlinevirtual

◆ Initialize() [1/2]

virtual int Initialize ( GridType inGrid,
StateType inState,
StateType inParam,
OperatorType inOperator 
)
inlinevirtual

Reimplemented in rhs< GridT, StateT, OperatorT >, and rhs< GridT, StateT, OperatorT >.

Definition at line 52 of file RHS.H.

◆ Initialize() [2/2]

virtual int Initialize ( GridType inGrid,
StateType inState,
StateType inParam,
StateType targetState,
OperatorType inOperator 
)
inlinevirtual

Reimplemented in rhs< GridT, StateT, OperatorT >.

Definition at line 58 of file RHS.H.

◆ InitThreadIntervals()

virtual int InitThreadIntervals ( )
inlinevirtual

◆ RHS()

virtual int RHS ( int  threadId)
inlinevirtual

◆ SetDomainBCs()

virtual void SetDomainBCs ( std::vector< BoundaryType > &  domainBoundaries,
std::vector< BCType > &  domainBCs 
)
inlinevirtual

Reimplemented in rhs< GridT, StateT, OperatorT >, and rhs< GridT, StateT, OperatorT >.

Definition at line 83 of file RHS.H.

◆ SetGlobal()

virtual void SetGlobal ( GlobalType inGlobal)
inlinevirtual

Reimplemented in rhs< GridT, StateT, OperatorT >.

Definition at line 79 of file RHS.H.

◆ SetupRHS()

virtual int SetupRHS ( GridType inGrid,
StateType inState,
StateType rhsState,
int  threadId 
)
inlinevirtual

◆ TimeStep()

virtual double TimeStep ( double *  outCFL = NULL)
inlinevirtual

Member Data Documentation

◆ globalPtr

GlobalType* globalPtr
protected

Definition at line 97 of file RHS.H.


The documentation for this class was generated from the following file: