42 const double solver_tol = 1e-12;
43 const int solver_max_it = 200;
51 #endif // MFEM_USE_MPI
Class for grid function - Vector with associated FE space.
virtual void Update(bool want_transform=true)
void ComputeEstimates()
Compute the element error estimates.
ParFiniteElementSpace * flux_space
Ownership based on the flag own_flux_fes. Its Update() method is called automatically by this class w...
virtual void Update(bool want_transform=true)
void ComputeEstimates()
Compute the element error estimates.
ParGridFunction * solution
Not owned.
Mesh * GetMesh() const
Returns the mesh.
GridFunction * solution
Not owned.
int local_norm_p
Local L_p norm to use, default is 1.
FiniteElementSpace * FESpace()
void SetSize(int nsize)
Change logical size of the array, keep existing entries.
double L2ZZErrorEstimator(BilinearFormIntegrator &flux_integrator, const ParGridFunction &x, ParFiniteElementSpace &smooth_flux_fes, ParFiniteElementSpace &flux_fes, Vector &errors, int norm_p, double solver_tol, int solver_max_it)
ParFiniteElementSpace * smooth_flux_space
Ownership based on the flag own_flux_fes. Its Update() method is called automatically by this class w...
double ZZErrorEstimator(BilinearFormIntegrator &blfi, GridFunction &u, GridFunction &flux, Vector &error_estimates, Array< int > *aniso_flags, int with_subdomains, bool with_coeff)
FiniteElementSpace * flux_space
Ownership based on own_flux_fes. Its Update() method is called automatically by this class when neede...
BilinearFormIntegrator * integ
Not owned.
BilinearFormIntegrator * integ
Not owned.