PlasCom2  1.0
XPACC Multi-physics simluation application
Maxwell::util Namespace Reference

Functions

template<typename GridType , typename StateType >
int SetupMaxwellStateAndParameters (const GridType &inGrid, StateType &inState, StateType &inParams)
 
template<typename GridType , typename StateType >
int InitializeMaxwellStateConstFields (const GridType &inGrid, StateType &inState, double *constE, double *constB, double *constJ, double &constEps, double &constMu, bool everyWhere=false)
 
template<typename GridType , typename StateType >
int InitializeMaxwellStateGridIndices (const GridType &inGrid, StateType &inState)
 
template<typename GridType , typename StateType >
int InitializeMaxwellParameters (const GridType &inGrid, StateType &inParams, double CFLValue)
 
template<typename GridType , typename StateType >
int InitializeGaussianPulse1DXDir (const GridType &inGrid, StateType &inState, StateType &inParams, const std::vector< double > &inputParams, const std::vector< int > &inputFlags, int threadID)
 

Function Documentation

◆ InitializeGaussianPulse1DXDir()

int Maxwell::util::InitializeGaussianPulse1DXDir ( const GridType &  inGrid,
StateType &  inState,
StateType &  inParams,
const std::vector< double > &  inputParams,
const std::vector< int > &  inputFlags,
int  threadID 
)

Definition at line 459 of file MaxwellUtil.H.

References bufferSizes, databuffer::Data(), apptools::DumpContents(), gridSizes, sizeextent::InitSimple(), numPointsBuffer, euler::util::Pulse(), and x.

Referenced by InitializeSolution().

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

◆ InitializeMaxwellParameters()

int Maxwell::util::InitializeMaxwellParameters ( const GridType &  inGrid,
StateType &  inParams,
double  CFLValue 
)

Definition at line 354 of file MaxwellUtil.H.

References bufferSizes, and databuffer::Data().

Referenced by application::RunMaxwellSolver(), TestMaxwellRHS(), and TestMaxwellRHSTimeIntegrate().

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

◆ InitializeMaxwellStateConstFields()

int Maxwell::util::InitializeMaxwellStateConstFields ( const GridType &  inGrid,
StateType &  inState,
double *  constE,
double *  constB,
double *  constJ,
double &  constEps,
double &  constMu,
bool  everyWhere = false 
)

Definition at line 49 of file MaxwellUtil.H.

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

Referenced by application::RunMaxwellSolver(), TestMaxwellRHS(), and TestMaxwellRHSTimeIntegrate().

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

◆ InitializeMaxwellStateGridIndices()

int Maxwell::util::InitializeMaxwellStateGridIndices ( const GridType &  inGrid,
StateType &  inState 
)

Definition at line 219 of file MaxwellUtil.H.

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

Here is the call graph for this function:

◆ SetupMaxwellStateAndParameters()

int Maxwell::util::SetupMaxwellStateAndParameters ( const GridType &  inGrid,
StateType &  inState,
StateType &  inParams 
)

Definition at line 10 of file MaxwellUtil.H.

References bufferSizes, and numPointsBuffer.

Referenced by TestMaxwellRHS(), and TestMaxwellRHSTimeIntegrate().

Here is the caller graph for this function: