PlasCom2  1.0
XPACC Multi-physics simluation application
testfixtures::viscid Namespace Reference

Typedefs

typedef plascom2::application::domainvector DomainVector
 
typedef simulation::grid::parallel_blockstructured pbsgrid_t
 
typedef simulation::state::base state_t
 

Functions

double Parabola (double amp, double centerX, double centerY, double centerZ, double x, double y, double z, int direction)
 
double Linear (std::vector< double > amp, double x0, double y0, double z0, double x, double y, double z, int direction)
 
double Cosine (std::vector< double > amp, std::vector< double > period, double x0, double y0, double z0, double x, double y, double z, int direction)
 
template<typename GridType , typename StateType >
int SetupViscidState (const GridType &inGrid, StateType &inState, StateType &inParams, int numScalars, bool withFluxes=false)
 
template<typename GridType , typename StateType >
int InitializeQuiescentFlow (const GridType &inGrid, StateType &inState, bool everyWhere=false)
 
int GenerateViscidShockExact (pbsgrid_t &exactGrid, state_t &exactState, const int direction)
 
int GeneratePoiseuilleExact (pbsgrid_t &exactGrid, state_t &exactState, const int direction)
 

Typedef Documentation

◆ DomainVector

◆ pbsgrid_t

◆ state_t

Definition at line 11 of file ViscidTestFixtures.H.

Function Documentation

◆ Cosine()

double testfixtures::viscid::Cosine ( std::vector< double >  amp,
std::vector< double >  period,
double  x0,
double  y0,
double  z0,
double  x,
double  y,
double  z,
int  direction 
)
inline

Definition at line 56 of file ViscidTestFixtures.H.

Referenced by TestVelocityGradientPeriodic().

Here is the caller graph for this function:

◆ GeneratePoiseuilleExact()

◆ GenerateViscidShockExact()

◆ InitializeQuiescentFlow()

int testfixtures::viscid::InitializeQuiescentFlow ( const GridType &  inGrid,
StateType &  inState,
bool  everyWhere = false 
)

Definition at line 161 of file ViscidTestFixtures.H.

References bufferSizes, databuffer::Data(), GeneratePoiseuilleExact(), GenerateViscidShockExact(), gridSizes, and numPointsBuffer.

Here is the call graph for this function:

◆ Linear()

double testfixtures::viscid::Linear ( std::vector< double >  amp,
double  x0,
double  y0,
double  z0,
double  x,
double  y,
double  z,
int  direction 
)
inline

Definition at line 35 of file ViscidTestFixtures.H.

Referenced by TestVelocityGradient().

Here is the caller graph for this function:

◆ Parabola()

double testfixtures::viscid::Parabola ( double  amp,
double  centerX,
double  centerY,
double  centerZ,
double  x,
double  y,
double  z,
int  direction 
)
inline

Definition at line 13 of file ViscidTestFixtures.H.

◆ SetupViscidState()

int testfixtures::viscid::SetupViscidState ( const GridType &  inGrid,
StateType &  inState,
StateType &  inParams,
int  numScalars,
bool  withFluxes = false 
)

Definition at line 103 of file ViscidTestFixtures.H.

References bufferSizes, gridSizes, and numPointsBuffer.

Referenced by TestVelocityGradient(), TestVelocityGradientPeriodic(), and TestViscidRHS().

Here is the caller graph for this function: