PlasCom2  1.0
XPACC Multi-physics simluation application
testrhs< DomainT > Class Template Reference

Detailed Description

template<typename DomainT>
class testrhs< DomainT >

Definition at line 9 of file RKTestFixtures.H.

#include <RKTestFixtures.H>

Public Types

typedef DomainT::GridType GridType
 
typedef DomainT::StateType StateType
 
typedef DomainT::OperatorType OperatorType
 

Public Member Functions

virtual int SetupRHS (GridType &inGrid, StateType &inState, StateType &rhsState, int myThreadId=0)
 
void SetTimestep (double inDT)
 
virtual int Initialize (GridType &inGrid, StateType &inState)
 
virtual int RHS (int threadId=0)
 
virtual int ProcessInterior2 (GridType &inGrid, StateType &inState, StateType &rhsState)
 
virtual int ProcessInterior (GridType &inGrid, StateType &inState, StateType &rhsState, int threadId=1)
 
virtual double TimeStep (double *inCFL=NULL)
 
virtual int ProcessHalo (halo_t &inHalo, GridType &inGrid, StateType &inState, StateType &rhsState, int threadId=1)
 
virtual int ProcessBoundary (GridType &inGrid, StateType &inState, StateType &rhsState, int threadId=1)
 

Static Public Member Functions

static double TestF (double time, int order)
 
static double RHSF (double inTime, int inOrder)
 

Protected Attributes

StateType * myState
 
StateType * myRHSState
 
GridType * myGrid
 
double myDT
 
Inheritance diagram for testrhs< DomainT >:
Collaboration diagram for testrhs< DomainT >:

Member Typedef Documentation

◆ GridType

typedef DomainT::GridType GridType

Definition at line 11 of file RKTestFixtures.H.

◆ OperatorType

typedef DomainT::OperatorType OperatorType

Definition at line 13 of file RKTestFixtures.H.

◆ StateType

typedef DomainT::StateType StateType

Definition at line 12 of file RKTestFixtures.H.

Member Function Documentation

◆ Initialize()

virtual int Initialize ( GridType &  inGrid,
StateType &  inState 
)
inlinevirtual

Definition at line 35 of file RKTestFixtures.H.

◆ ProcessBoundary()

virtual int ProcessBoundary ( GridType &  inGrid,
StateType &  inState,
StateType &  rhsState,
int  threadId = 1 
)
inlinevirtual

Definition at line 85 of file RKTestFixtures.H.

◆ ProcessHalo()

virtual int ProcessHalo ( halo_t &  inHalo,
GridType &  inGrid,
StateType &  inState,
StateType &  rhsState,
int  threadId = 1 
)
inlinevirtual

Definition at line 83 of file RKTestFixtures.H.

◆ ProcessInterior()

virtual int ProcessInterior ( GridType &  inGrid,
StateType &  inState,
StateType &  rhsState,
int  threadId = 1 
)
inlinevirtual

Definition at line 43 of file RKTestFixtures.H.

References databuffer::Data(), and testrhs< DomainT >::RHSF().

Referenced by testrhs< DomainT >::RHS().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessInterior2()

virtual int ProcessInterior2 ( GridType &  inGrid,
StateType &  inState,
StateType &  rhsState 
)
inlinevirtual

Definition at line 41 of file RKTestFixtures.H.

◆ RHS()

virtual int RHS ( int  threadId = 0)
inlinevirtual

Definition at line 37 of file RKTestFixtures.H.

References testrhs< DomainT >::myGrid, testrhs< DomainT >::myRHSState, testrhs< DomainT >::myState, and testrhs< DomainT >::ProcessInterior().

Here is the call graph for this function:

◆ RHSF()

static double RHSF ( double  inTime,
int  inOrder 
)
inlinestatic

Definition at line 19 of file RKTestFixtures.H.

Referenced by testrhs< DomainT >::ProcessInterior().

Here is the caller graph for this function:

◆ SetTimestep()

void SetTimestep ( double  inDT)
inline

Definition at line 34 of file RKTestFixtures.H.

References testrhs< DomainT >::myDT.

◆ SetupRHS()

virtual int SetupRHS ( GridType &  inGrid,
StateType &  inState,
StateType &  rhsState,
int  myThreadId = 0 
)
inlinevirtual

◆ TestF()

static double TestF ( double  time,
int  order 
)
inlinestatic

Definition at line 15 of file RKTestFixtures.H.

◆ TimeStep()

virtual double TimeStep ( double *  inCFL = NULL)
inlinevirtual

Definition at line 82 of file RKTestFixtures.H.

References testrhs< DomainT >::myDT.

Member Data Documentation

◆ myDT

double myDT
protected

◆ myGrid

GridType* myGrid
protected

Definition at line 90 of file RKTestFixtures.H.

Referenced by testrhs< DomainT >::RHS(), and testrhs< DomainT >::SetupRHS().

◆ myRHSState

StateType* myRHSState
protected

Definition at line 89 of file RKTestFixtures.H.

Referenced by testrhs< DomainT >::RHS(), and testrhs< DomainT >::SetupRHS().

◆ myState

StateType* myState
protected

Definition at line 86 of file RKTestFixtures.H.

Referenced by testrhs< DomainT >::RHS(), and testrhs< DomainT >::SetupRHS().


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