1#ifndef EXASEIS_SCENARIOLOHONE_HEADER
2#define EXASEIS_SCENARIOLOHONE_HEADER
5template <
class Shortcuts,
int basisSize>
29 if( x[1] <= (1.0 + 1.0e-6) && center[1] < 1.0) {
33 }
else if(x[1] >= (1.0 - 1.0e-6) && center[1] > 1.0){
39#elif defined ANISOTROPIC
40 assertion1(
false,
"Loh1 Not implemented in the Anisotropic case" );
42#error Whole space problem only defined for Isotropic and Anisotropic Scenario
53 const double*
const x,
const double t,
const double dt,
54 double* forceVector,
int n){
56 assertion2(n == 0,
"Only a single pointSource for Loh1",n);
59 constexpr double t0 = 0.1;
60 constexpr double M0 = 1000.0;
62 double f = M0*t/(t0*t0)*std::exp(-t/t0);
65 forceVector[s.sigma + 4] = f;
#define assertion2(expr, param0, param1)
#define assertion1(expr, param)
void refinementCriteria(std::vector< Refinement::RefinementCriterion< Shortcuts > * > &criteria) override
void initUnknownsPointwise(const double *const x, const tarch::la::Vector< Dimensions, double > ¢er, const double t, const double dt, double *Q)
void initPointSourceLocation(double pointSourceLocation[][3])
double m_pointSourceLocation[3]
Loh1(DomainInformation *info)
void setPointSourceVector(const double *const Q, const double *const x, const double t, const double dt, double *forceVector, int n)