Peano
KernelBenchmarks-main.cpp File Reference

Go to the source code of this file.

Functions

void reportRuntime (const tarch::timing::Measurement &measurement)
 
void plotGrid ()
 
void invokeFVSolverBoundaryConditions (const double *NOALIAS Qinside, double *NOALIAS Qoutside, const tarch::la::Vector< DIMENSIONS, double > &x, const tarch::la::Vector< DIMENSIONS, double > &h, double t, double dt, int normal)
 
void applyBoundaryConditionsToAxis (int axis, double t, double dt)
 
void applyBoundaryConditions ()
 
void projectPatchOntoFaces ()
 
void applyInitialConditions ()
 
peano4::datamanagement::CellMarker createMarkerFromIndex (const tarch ::la ::Vector< DIMENSIONS, int > &index)
 
void createGrid ()
 
void initGrid ()
 
int main (int argc, char **argv)
 

Function Documentation

◆ applyBoundaryConditions()

void applyBoundaryConditions ( )

Definition at line 214 of file KernelBenchmarks-main.cpp.

References applyBoundaryConditionsToAxis(), CSVConvert::dt, and acoustic::t.

Referenced by main().

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

◆ applyBoundaryConditionsToAxis()

void applyBoundaryConditionsToAxis ( int  axis,
double  t,
double  dt 
)

◆ applyInitialConditions()

void applyInitialConditions ( )

Definition at line 241 of file KernelBenchmarks-main.cpp.

References benchmarks::exahype2::kernelbenchmarks::DataRepository::getCellQ(), benchmarks::exahype2::kernelbenchmarks::DataRepository::getInstance(), and csv_to_plot::marker.

Referenced by initGrid().

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

◆ createGrid()

void createGrid ( )

Definition at line 270 of file KernelBenchmarks-main.cpp.

References createMarkerFromIndex().

Referenced by main().

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

◆ createMarkerFromIndex()

peano4::datamanagement::CellMarker createMarkerFromIndex ( const tarch ::la ::Vector< DIMENSIONS, int > &  index)

Definition at line 259 of file KernelBenchmarks-main.cpp.

References CellSize.

Referenced by createGrid().

Here is the caller graph for this function:

◆ initGrid()

void initGrid ( )

Definition at line 277 of file KernelBenchmarks-main.cpp.

References applyInitialConditions(), and projectPatchOntoFaces().

Referenced by main().

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

◆ invokeFVSolverBoundaryConditions()

void invokeFVSolverBoundaryConditions ( const double *NOALIAS  Qinside,
double *NOALIAS  Qoutside,
const tarch::la::Vector< DIMENSIONS, double > &  x,
const tarch::la::Vector< DIMENSIONS, double > &  h,
double  t,
double  dt,
int  normal 
)

Definition at line 152 of file KernelBenchmarks-main.cpp.

References swe::h, acoustic::t, and ModeCalc::x.

Referenced by applyBoundaryConditionsToAxis().

Here is the caller graph for this function:

◆ main()

◆ plotGrid()

void plotGrid ( )

Definition at line 107 of file KernelBenchmarks-main.cpp.

References benchmarks::exahype2::kernelbenchmarks::DataRepository::getCellQ(), benchmarks::exahype2::kernelbenchmarks::DataRepository::getInstance(), and csv_to_plot::marker.

Referenced by main().

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

◆ projectPatchOntoFaces()

void projectPatchOntoFaces ( )

◆ reportRuntime()

void reportRuntime ( const tarch::timing::Measurement &  measurement)

Definition at line 41 of file KernelBenchmarks-main.cpp.

References performance_testbed::msg.