23 const int with_subdomains = 1;
40 const double solver_tol = 1e-12;
41 const int solver_max_it = 200;
49 #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.
double ZZErrorEstimator(BilinearFormIntegrator &blfi, GridFunction &u, GridFunction &flux, Vector &error_estimates, Array< int > *aniso_flags, int with_subdomains)
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...
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.