15 #ifndef __NS_ERROR_ESTIMATOR__
16 #define __NS_ERROR_ESTIMATOR__
18 #include <FEFunction2D.h>
19 #include <FEVectFunct2D.h>
21 #define ns_gradient_indicator 0
22 #define ns_residual_estimator_h1 1
23 #define ns_residual_estimator_l2 2
24 #define ns_residual_estimator_energy_quasi_robust 3
25 #define ns_gradient_recovery 4
26 #define ns_implicit_estimator_neumann 5
64 {
return Collection_P; };
87 MultiIndex2D *NeededDerivatives,
89 MultiIndex2D *NeededDerivativesP,
91 BoundCondFunct2D **BoundaryConds,
92 BoundValueFunct2D **BoundaryValues,
98 double *estimated_global_error);
108 double **Derivatives,
110 BoundCondFunct2D **BoundaryConds,
111 BoundValueFunct2D **BoundaryValues,
117 double *xyval_ref1D[4],
118 double *xderiv_ref1D[4],
119 double *yderiv_ref1D[4],
128 double *local_error);
134 #endif // #ifdef __2D__
int NavierStokes
Definition: NSE2DErrorEstimator.h:50
TNS2DErrorEstimator(int fe_local_estimator, TFEVectFunct2D *u, TFEFunction2D *p, int error_control, int navierstokes)
Definition: NSE2DErrorEstimator.C:35
Definition: AuxParam2D.h:22
TCollection * Collection_U
Definition: NSE2DErrorEstimator.h:32
TCollection * GetCollection_U()
Definition: NSE2DErrorEstimator.h:61
Definition: FESpace2D.h:28
int FELocalEstimator
Definition: NSE2DErrorEstimator.h:44
store cells in an array, used by cell iterators
Definition: Collection.h:18
int GetFELocalEstimator()
Definition: NSE2DErrorEstimator.h:74
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)
Definition: NSE2DErrorEstimator.C:586
int GetErrorControl()
Definition: NSE2DErrorEstimator.h:78
Definition: FEVectFunct2D.h:23
TFEVectFunct2D * GetU()
Definition: NSE2DErrorEstimator.h:67
TFEVectFunct2D * U
Definition: NSE2DErrorEstimator.h:40
information for finite element data structure
Definition: BaseCell.h:25
Definition: NSE2DErrorEstimator.h:28
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)
Definition: NSE2DErrorEstimator.C:52
int ErrorControl
Definition: NSE2DErrorEstimator.h:47
int GetNavierStokes()
Definition: NSE2DErrorEstimator.h:82
Definition: FEFunction2D.h:24
TFESpace2D * FESpace2D_U
Definition: NSE2DErrorEstimator.h:36