MFEM v4.7.0
Finite element discretization library
No Matches
Namespaces | Functions
gridfunc.cpp File Reference

Go to the source code of this file.


namespace  mfem


std::ostream & mfem::operator<< (std::ostream &os, const GridFunction &sol)
real_t mfem::ZZErrorEstimator (BilinearFormIntegrator &blfi, GridFunction &u, GridFunction &flux, Vector &error_estimates, Array< int > *aniso_flags, int with_subdomains, bool with_coeff)
void mfem::TensorProductLegendre (int dim, int order, const Vector &x_in, const Vector &xmax, const Vector &xmin, Vector &poly, real_t angle=0.0, const Vector *midpoint=NULL)
 Defines the global tensor product polynomial space used by NewZZErorrEstimator.
void mfem::BoundingBox (const Array< int > &face_patch, FiniteElementSpace *ufes, int order, Vector &xmin, Vector &xmax, real_t &angle, Vector &midpoint, int iface=-1)
 Defines the bounding box for the face patches used by NewZZErorrEstimator.
real_t mfem::LSZZErrorEstimator (BilinearFormIntegrator &blfi, GridFunction &u, Vector &error_estimates, bool subdomain_reconstruction=true, bool with_coeff=false, real_t tichonov_coeff=0.0)
 A `‘true’' ZZ error estimator that uses face-based patches for flux reconstruction.
real_t mfem::ComputeElementLpDistance (real_t p, int i, GridFunction &gf1, GridFunction &gf2)
 Compute the Lp distance between two grid functions on the given element.
GridFunction * mfem::Extrude1DGridFunction (Mesh *mesh, Mesh *mesh2d, GridFunction *sol, const int ny)
 Extrude a scalar 1D GridFunction, after extruding the mesh with Extrude1D.