The MFEMResolver class is used to resolve the appropriate MFEM integration rule for a given quadrature context. It uses a policy to determine the appropriate order and other relevant information for the integration rule.
More...
#include <mfem_resolver.hpp>
|
| | MFEMResolver (Policy policy) noexcept |
| | Constructs an MFEMResolver with the given policy.
|
| |
| template<forms::Form FormT> |
| MFEMRule | resolve (const MFEMQuadratureContext &context) const |
| | Resolves the appropriate MFEM integration rule for a given quadrature context and form type.
|
| |
| template<forms::Form FormT, ConfigurableIntegrator IntegratorT> |
| Resolution | configure (IntegratorT &integrator, const MFEMQuadratureContext &context) const |
| | Configures an MFEM integrator with the appropriate integration rule for a given quadrature context and form type. This function will call the appropriate SetIntegrationRule method on the integrator based on its capabilities.
|
| |
|
| Policy | m_policy |
| | The policy used to determine the appropriate order and other relevant information for the integration rule.
|
| |
The MFEMResolver class is used to resolve the appropriate MFEM integration rule for a given quadrature context. It uses a policy to determine the appropriate order and other relevant information for the integration rule.
◆ MFEMResolver()
| serif::discretization::quadrature::backend::mfem::MFEMResolver::MFEMResolver |
( |
Policy | policy | ) |
|
|
inlineexplicitnoexcept |
Constructs an MFEMResolver with the given policy.
- Parameters
-
| policy | The policy used to determine the appropriate order and other relevant information for the integration rule. |
◆ configure()
template<forms::Form FormT, ConfigurableIntegrator IntegratorT>
| Resolution serif::discretization::quadrature::backend::mfem::MFEMResolver::configure |
( |
IntegratorT & | integrator, |
|
|
const MFEMQuadratureContext & | context ) const |
|
inline |
Configures an MFEM integrator with the appropriate integration rule for a given quadrature context and form type. This function will call the appropriate SetIntegrationRule method on the integrator based on its capabilities.
- Template Parameters
-
| FormT | The form type for which we are trying to configure the integrator. |
| IntegratorT | The type of the integrator to configure. |
- Parameters
-
| integrator | The integrator to configure. |
| context | The quadrature context describing the situation in which we are trying to configure the integrator. |
- Returns
- The resolution of the MFEM integration rule used to configure the integrator.
◆ resolve()
template<forms::Form FormT>
Resolves the appropriate MFEM integration rule for a given quadrature context and form type.
- Template Parameters
-
| FormT | The form type for which we are trying to resolve an MFEM integration rule. |
- Parameters
-
| context | The quadrature context describing the situation in which we are trying to resolve an MFEM integration rule. |
- Returns
- An MFEMRule struct containing the resolution and a pointer to the MFEM integration rule itself.
◆ m_policy
| Policy serif::discretization::quadrature::backend::mfem::MFEMResolver::m_policy |
|
private |
The policy used to determine the appropriate order and other relevant information for the integration rule.
The documentation for this class was generated from the following file: