https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Namespaces | Functions
MFEMConstraintUtils.C File Reference

Go to the source code of this file.

Namespaces

namespace  Moose
 MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to address this in their environment if C++17 compatibility isn't found.
 
namespace  Moose::MFEM
 Utilities for converting between vector(s) of libMesh Points and MFEM Vector(s).
 

Functions

void Moose::MFEM::subdomainTDofs (mfem::ParFiniteElementSpace &pfes, const mfem::Array< int > &subdomain_markers, bool include_boundary, mfem::Array< int > &ldof_marker, mfem::Array< int > &tdofs)
 Degrees of freedom of pfes belonging to elements whose mesh attribute is set in the attribute marker array subdomain_markers, as returned by MFEMBlockRestrictable::getSubdomainMarkers.
 
void Moose::MFEM::projectCoefficientOnSubdomains (mfem::ParGridFunction &gf, mfem::Coefficient &coef, const mfem::Array< int > &subdomain_markers, const mfem::Array< int > &ldof_marker)
 Overwrite the degrees of freedom of grid function gf marked in the local dof marker ldof_marker with the projection of coefficient coef over the elements whose mesh attribute is set in the attribute marker array subdomain_markers.
 
void Moose::MFEM::projectCoefficientOnSubdomains (mfem::ParGridFunction &gf, mfem::VectorCoefficient &coef, const mfem::Array< int > &subdomain_markers, const mfem::Array< int > &ldof_marker)
 
void Moose::MFEM::zeroTrueDofs (mfem::ParGridFunction &gf, const mfem::Array< int > &tdofs)
 Strongly set the true dofs listed in tdofs of grid function gf to zero, leaving its local vector consistent with the true vector.