Public Member Functions | |
TNS2DErrorEstimator (int fe_local_estimator, TFEVectFunct2D *u, TFEFunction2D *p, int error_control, int navierstokes) | |
TCollection * | GetCollection_U () |
TCollection * | GetCollection_P () |
TFEVectFunct2D * | GetU () |
TFEFunction2D * | GetP () |
int | GetFELocalEstimator () |
int | GetErrorControl () |
int | GetNavierStokes () |
void | GetErrorEstimate (int N_Derivatives, MultiIndex2D *NeededDerivatives, int N_DerivativesP, MultiIndex2D *NeededDerivativesP, CoeffFct2D *Coeff, BoundCondFunct2D **BoundaryConds, BoundValueFunct2D **BoundaryValues, TAuxParam2D *Aux, int n_fespaces, TFESpace2D **fespaces, double *eta_K, double *eta_max, double *estimated_global_error) |
void | EstimateCellError (TFESpace2D **fespaces, TBaseCell *cell, int N_Points, double *X, double *Y, double *AbsDetjk, double *weights, double **Derivatives, double **AuxArray, BoundCondFunct2D **BoundaryConds, BoundValueFunct2D **BoundaryValues, int N_Points1D, double *zeta, double *X1D[4], double *Y1D[4], double *weights1D, double *xyval_ref1D[4], double *xderiv_ref1D[4], double *yderiv_ref1D[4], int *GlobalNumbers, int *BeginIndex, int *DOF, double *Values, int *GlobalNumbersP, int *BeginIndexP, int *DOFP, double *ValuesP, double *local_error) |
Protected Attributes | |
TCollection * | Collection_U |
TCollection * | Collection_P |
TFESpace2D * | FESpace2D_U |
TFESpace2D * | FESpace2D_P |
TFEVectFunct2D * | U |
TFEFunction2D * | P |
int | FELocalEstimator |
int | ErrorControl |
int | NavierStokes |
TNS2DErrorEstimator::TNS2DErrorEstimator | ( | int | fe_local_estimator, |
TFEVectFunct2D * | u, | ||
TFEFunction2D * | p, | ||
int | error_control, | ||
int | navierstokes | ||
) |
initialize error estimator
void TNS2DErrorEstimator::EstimateCellError | ( | TFESpace2D ** | fespaces, |
TBaseCell * | cell, | ||
int | N_Points, | ||
double * | X, | ||
double * | Y, | ||
double * | AbsDetjk, | ||
double * | weights, | ||
double ** | Derivatives, | ||
double ** | AuxArray, | ||
BoundCondFunct2D ** | BoundaryConds, | ||
BoundValueFunct2D ** | BoundaryValues, | ||
int | N_Points1D, | ||
double * | zeta, | ||
double * | X1D[4], | ||
double * | Y1D[4], | ||
double * | weights1D, | ||
double * | xyval_ref1D[4], | ||
double * | xderiv_ref1D[4], | ||
double * | yderiv_ref1D[4], | ||
int * | GlobalNumbers, | ||
int * | BeginIndex, | ||
int * | DOF, | ||
double * | Values, | ||
int * | GlobalNumbersP, | ||
int * | BeginIndexP, | ||
int * | DOFP, | ||
double * | ValuesP, | ||
double * | local_error | ||
) |
elementwise estimator
|
inline |
return Collection
|
inline |
return error control
void TNS2DErrorEstimator::GetErrorEstimate | ( | int | N_Derivatives, |
MultiIndex2D * | NeededDerivatives, | ||
int | N_DerivativesP, | ||
MultiIndex2D * | NeededDerivativesP, | ||
CoeffFct2D * | Coeff, | ||
BoundCondFunct2D ** | BoundaryConds, | ||
BoundValueFunct2D ** | BoundaryValues, | ||
TAuxParam2D * | Aux, | ||
int | n_fespaces, | ||
TFESpace2D ** | fespaces, | ||
double * | eta_K, | ||
double * | eta_max, | ||
double * | estimated_global_error | ||
) |
the estimator
|
inline |
return element error estimator
|
inline |
return problem type
|
inline |
return
|
protected |
cell collection which the spaces are based on
|
protected |
do or not do error control
|
protected |
error estimator routine
|
protected |
ansatz space
|
protected |
Stokes or Navier-Stokes equation
|
protected |
FE function