13 OutPut(
"Example: exp.h" << endl);
17 void Exact(
double x,
double y,
double *values)
23 values[0] = exp(t)*(sin(2*Pi*x)*sin(2*Pi*y));
24 values[1] = exp(t)*2*Pi*cos(2*Pi*x)*sin(2*Pi*y);
25 values[2] = exp(t)*2*Pi*sin(2*Pi*x)*cos(2*Pi*y);
30 void BoundCondition(
int BdComp,
double t, BoundCond &cond)
36 void BoundValue(
int BdComp,
double Param,
double &value)
42 void InitialCondition(
double x,
double y,
double *values)
47 values[0] = exp(t)*(sin(2*Pi*x)*sin(2*Pi*y));
51 void BilinearCoeffs(
int n_points,
double *X,
double *Y,
52 double **parameters,
double **coeffs)
55 double b1=1, b2=-1, c=1;
61 for(i=0;i<n_points;i++)
73 coeff[4] = exp(t)*(sin(2*Pi*x)*sin(2*Pi*y))
74 - eps * exp(t)*4*Pi*Pi*(-sin(2*Pi*x)*sin(2*Pi*y)-sin(2*Pi*x)*sin(2*Pi*y))
75 + b1 * exp(t)*2*Pi*cos(2*Pi*x)*sin(2*Pi*y)
76 + b2 * exp(t)*2*Pi*sin(2*Pi*x)*cos(2*Pi*y)
77 + c * exp(t)*(sin(2*Pi*x)*sin(2*Pi*y));
static TTimeDB * TimeDB
Definition: Database.h:1137
static TParamDB * ParamDB
Definition: Database.h:1134