Peano
Loading...
Searching...
No Matches
ScalarFieldKernels.h File Reference
#include "tarch/tarch.h"
#include "tarch/la/Vector.h"
Include dependency graph for ScalarFieldKernels.h:

Go to the source code of this file.

Namespaces

namespace  exagrype
 This file is part of the ExaGRyPE project.
namespace  exagrype::scalarfield

Functions

double exagrype::scalarfield::advectionVelocity (const double *const ccz4Fields, const int normal)
 Advection velocity of the scalar field along one coordinate axis.
void exagrype::scalarfield::nonconservativeProduct (const double *const ccz4Fields, const double *const deltaQ, const int normal, double *const BTimesDeltaQ)
 Non-conservative product of the advection equation.
double exagrype::scalarfield::maxEigenvalue (const double *const ccz4Fields, const int normal)
 Maximum eigenvalue, i.e.
void exagrype::scalarfield::initialValues (double *const Q, double *const ccz4Fields, const tarch::la::Vector< Dimensions, double > &x)
 Initial values: four sine waves along the x-axis with phase shifts.

Variables

constexpr int exagrype::scalarfield::NumberOfUnknowns = 4
 Number of unknowns of the scalar field solver (exagrype.api.scalarfield.ScalarField.Unknowns).
constexpr int exagrype::scalarfield::LapseIndex = 16
 Position of the lapse in the 58 entries of first-order CCZ4 (exagrype.api.FOCCZ4Solver.Unknowns).