6 OutPut(
"Example: CubicPressure.h" << endl) ;
12 void ExactU1(
double x,
double y,
double *values)
14 values[0] = -x*x*y + y*y*y/3.0;
16 values[2] = -x*x + y*y;
20 void ExactU2(
double x,
double y,
double *values)
22 values[0] = -x*x*x/3.0 + x*y*y;
23 values[1] = -x*x + y*y;
28 void ExactP(
double x,
double y,
double *values)
30 values[0] = (x*x*x*y - x*y*y*y)/3.0;
31 values[1] = x*x*y - y*y*y/3.0;
32 values[2] = x*x*x/3.0 - x*y*y;
39 void BoundCondition(
int bdComp,
double t, BoundCond &cond)
41 cond = (bdComp == 3) ? DIRICHLET : NEUMANN;
45 void FluxBoundValue(
int bdComp,
double t,
double &value)
58 value = (t - t*t*t) / 3.0;
65 value = (x*x*x - x) / 3.0;
77 ErrMsg(
"wrong boundary part number");
86 void LinCoeffs(
int n_points,
double *X,
double *Y,
87 double **parameters,
double **coeffs)
90 for(
int i = 0; i < n_points; i++)
static TParamDB * ParamDB
Definition: Database.h:1134