Equation system specialization for eigenproblems. More...
#include <EigenproblemEquationSystem.h>
Public Member Functions | |
| EigenproblemEquationSystem ()=default | |
| ~EigenproblemEquationSystem () override=default | |
| void | BuildEigenproblemJacobian (mfem::BlockVector &trueX, EigenRHSCoefficient rhs_coefficient) |
| Build eigenproblem system, with essential boundary conditions accounted for. | |
| void | PrepareEigensolver (EigensolverBase &solver) |
| Prepare the provided eigensolver. | |
| bool | IsEigen () const override |
| void | AddEssentialConstraint (std::shared_ptr< MFEMEssentialConstraint > constraint) override |
| Eigenproblems mark external boundaries as essential and do not consult the constraint map, so reject constraints rather than silently ignoring them. | |
| virtual void | AddKernel (std::shared_ptr< MFEMKernel > kernel) |
| Add kernels. | |
| virtual void | AddIntegratedBC (std::shared_ptr< MFEMIntegratedBC > kernel) |
| virtual void | AddEssentialBC (std::shared_ptr< MFEMEssentialBC > bc) |
| Add BC associated with essentially constrained DoFs on boundaries. | |
| virtual void | Init (GridFunctions &gridfunctions, ComplexGridFunctions &cmplx_gridfunctions, mfem::AssemblyLevel assembly_level) |
| Initialise. | |
| void | FormSystem (mfem::BlockVector &trueX, mfem::BlockVector &trueRHS) |
| Build all weak-form components via BuildEquationSystem(), form the constrained linear part of the system, and populate the true-DoF vectors used by the solve. | |
| void | Mult (const mfem::Vector &u, mfem::Vector &residual) const override |
| Compute residual y = Mu. | |
| virtual void | ComputeNonlinearResidual (const mfem::Vector &u, mfem::Vector &residual) const |
| Compute the contribution to the residual from nonlinear forms only. | |
| mfem::Operator & | GetGradient (const mfem::Vector &u) const override |
| Get Jacobian at the provided vector of true DoFs of trial variables. | |
| mfem::OperatorHandle & | GetLinearOperator () const |
| Get operator handle for linear component of system operator. | |
| virtual void | SetTrialVariablesFromTrueVectors (const mfem::BlockVector &trueX) const |
| Update variable from solution vector after solve. | |
| void | SetGradientRequired (bool requires_gradient) |
| Set whether an external object (such as a nonlinear solver) requires Jacobian information for this EquationSystem. | |
| void | SetCoefficientManager (CoefficientManager &coefficients) |
| Set the coefficient manager to notify when trial variables are updated, so that stored projections of solution-dependent coefficients are invalidated. | |
| const std::vector< std::string > & | GetTrialVarNames () const |
| const std::vector< std::string > & | GetTestVarNames () const |
| const mfem::Array< int > & | GetBlockOffsets () const |
| Getter for block true offsets associated with the EquationSystem operator. | |
| mfem::ParBilinearForm & | GetBilinearForm (const std::string &test_var_name) |
| mfem::ParGridFunction & | GetGridFunction (const std::string &trial_var_name) |
| const mfem::Vector & | GetLinearizationPoint () const |
| The true-DoF vector used for the most recent Jacobian linearization. | |
| std::shared_ptr< mfem::ParBilinearForm > | BuildBilinearFormForFESpace (const std::string &var_name, mfem::ParFiniteElementSpace &fespace, mfem::AssemblyLevel assembly_level) |
| Build a fresh ParBilinearForm on the given FESpace using the same kernels as the main system's bilinear form for var_name. | |
| std::shared_ptr< mfem::ParNonlinearForm > | BuildNonlinearFormForFESpace (const std::string &var_name, mfem::ParFiniteElementSpace &fespace, mfem::AssemblyLevel assembly_level) |
| Build a fresh ParNonlinearForm on the given FESpace using the same kernels as the main system's nonlinear form for var_name. | |
| mfem::Array< int > & | GetEssentialBoundaryMarkers (const std::string &var_name) |
| Return the essential boundary attribute marker array for a given trial variable. | |
| const mfem::Array< int > & | GetEssentialTrueDofs (const std::string &var_name) const |
| Return the essentially constrained true dofs of a given trial variable: those on essential boundaries and those set by essential constraints within subdomains. | |
| virtual bool | HasEssentialConstraints (const std::string &var_name) const |
| virtual bool | IsComplex () const |
| virtual bool | IsTimeDependent () const |
| bool | IsMultivariate () const |
| bool | IsNonlinear () const |
| virtual void | BuildEquationSystem () |
| Build all forms comprising this EquationSystem. | |
Protected Member Functions | |
| virtual void | ApplyEssentialConstraints () override |
| Mark external boundaries as essential for eigenproblem BC elimination. | |
| virtual void | CheckProblemIsHomogeneous () |
| Verify that the problem is homogeneous (all Dirichlet BCs are zero) | |
| void | FormEigenproblemMatrix () |
| Form HypreParMatrix matrix operator for the eigensolver with Dirichlet BC elimination. | |
| void | FormMassMatrix (EigenRHSCoefficient rhs_coefficient) |
| Form mass matrix for the eigensolver with Dirichlet BC elimination. | |
| virtual void | AddCoupledVariableNameIfMissing (const std::string &coupled_var_name) |
| Add coupled variable to EquationSystem. | |
| virtual void | AddEliminatedVariableNameIfMissing (const std::string &eliminated_var_name) |
| Add eliminated variable to EquationSystem. | |
| virtual void | AddTestVariableNameIfMissing (const std::string &test_var_name) |
| Add test variable to EquationSystem. | |
| virtual void | SetTrialVariableNames () |
| Set trial variable names from subset of coupled variables that have an associated test variable. | |
| template<typename T > | |
| void | CheckConstrainedVariablesAreTrialVariables (const Moose::MFEM::NamedFieldsMap< std::vector< std::shared_ptr< T > > > &map) const |
Error if any variable that map holds strongly constrained DoFs for is not a trial variable of this system. | |
| void | DeleteHBlocks () |
| Deletes the HypreParMatrix associated with any pointer stored in _h_blocks, and then proceeds to delete all dynamically allocated memory for _h_blocks itself, resetting all dimensions to zero. | |
| void | DeleteJacobianBlocks () |
| Deletes the HypreParMatrix associated with any pointer stored in _jacobian_blocks, and then proceeds to delete all dynamically allocated memory for _jacobian_blocks itself, resetting all dimensions to zero. | |
| bool | VectorContainsName (const std::vector< std::string > &the_vector, const std::string &name) const |
| virtual void | ApplyEssentialConstraint (const std::string &var_name, mfem::ParGridFunction &trial_gf, mfem::Array< int > &global_bdr_markers, mfem::Array< int > &global_ess_tdofs) |
| Apply essential constraints associated with var_name to set true DoFs of trial_gf, and update markers of all essential boundaries. | |
| virtual void | EliminateCoupledVariables () |
| Perform trivial eliminations of coupled variables lacking corresponding test variables. | |
| virtual void | BuildLinearForms () |
| Build linear forms and eliminate constrained DoFs. | |
| virtual void | BuildNonlinearForms () |
| Build non-linear action forms. | |
| virtual void | BuildBilinearForms () |
| Build bilinear forms (diagonal Jacobian contributions) | |
| virtual void | BuildMixedBilinearForms () |
| Build mixed bilinear forms (off-diagonal Jacobian contributions) | |
| virtual void | FormLinearSystem (mfem::OperatorHandle &op, mfem::BlockVector &trueX, mfem::BlockVector &trueRHS) |
| Form linear components of system based on on- and off-diagonal bilinear form contributions, populate solution and RHS vectors of true DoFs, and apply constraints. | |
| virtual void | FormSystemOperator (mfem::OperatorHandle &op, mfem::BlockVector &trueX, mfem::BlockVector &trueRHS) |
| Form matrix-free representation of linear components of system operator. | |
| virtual void | FormSystemMatrix (mfem::OperatorHandle &op, mfem::BlockVector &trueX, mfem::BlockVector &trueRHS) |
| Form matrix representation of linear components of system operator as a HypreParMatrix. | |
| void | FormJacobianMatrix (const mfem::Vector &u) |
| Compute Jacobian matrix at the provided vector of true DoFs of trial variables. | |
| template<class FormType > | |
| void | ApplyDomainBLFIntegrators (const std::string &trial_var_name, const std::string &test_var_name, std::shared_ptr< FormType > form, NamedFieldsMap< NamedFieldsMap< std::vector< std::shared_ptr< MFEMKernel > > > > &kernels_map, std::optional< mfem::real_t > scale_factor=std::nullopt) |
| Template method for applying BilinearFormIntegrators on domains from kernels to a BilinearForm, or MixedBilinearForm. | |
| void | ApplyDomainLFIntegrators (const std::string &test_var_name, std::shared_ptr< mfem::ParLinearForm > form, NamedFieldsMap< NamedFieldsMap< std::vector< std::shared_ptr< MFEMKernel > > > > &kernels_map) |
| Apply domain LinearFormIntegrators from kernels to the linear form associated with the supplied test variable. | |
| void | ApplyDomainNLFIntegrators (const std::string &test_var_name, std::shared_ptr< mfem::ParNonlinearForm > form, NamedFieldsMap< NamedFieldsMap< std::vector< std::shared_ptr< MFEMKernel > > > > &kernels_map, std::optional< mfem::real_t > scale_factor=std::nullopt) |
| Apply domain NonlinearFormIntegrators from kernels to the nonlinear form associated with the supplied test variable. | |
| template<class FormType > | |
| void | ApplyBoundaryBLFIntegrators (const std::string &trial_var_name, const std::string &test_var_name, std::shared_ptr< FormType > form, NamedFieldsMap< NamedFieldsMap< std::vector< std::shared_ptr< MFEMIntegratedBC > > > > &integrated_bc_map, std::optional< mfem::real_t > scale_factor=std::nullopt) |
| Template method for applying BilinearFormIntegrators on boundaries from integrated boundary conditions to a BilinearForm, or MixedBilinearForm. | |
| void | ApplyBoundaryLFIntegrators (const std::string &test_var_name, std::shared_ptr< mfem::ParLinearForm > form, NamedFieldsMap< NamedFieldsMap< std::vector< std::shared_ptr< MFEMIntegratedBC > > > > &integrated_bc_map) |
| Apply boundary LinearFormIntegrators from integrated boundary conditions to the linear form associated with the supplied test variable. | |
| void | ApplyBoundaryNLFIntegrators (const std::string &test_var_name, std::shared_ptr< mfem::ParNonlinearForm > form, NamedFieldsMap< NamedFieldsMap< std::vector< std::shared_ptr< MFEMIntegratedBC > > > > &integrated_bc_map, std::optional< mfem::real_t > scale_factor=std::nullopt) |
| Apply boundary NonlinearFormIntegrators from integrated boundary conditions to the nonlinear form associated with the supplied test variable. | |
Protected Attributes | |
| std::vector< std::string > | _coupled_var_names |
| Names of all trial variables of kernels and boundary conditions added to this EquationSystem. | |
| std::vector< std::string > | _trial_var_names |
| Subset of _coupled_var_names of all variables corresponding to gridfunctions with degrees of freedom that comprise the state vector of this EquationSystem. | |
| std::vector< std::string > | _eliminated_var_names |
| Names of all coupled variables without a corresponding test variable. | |
| Moose::MFEM::GridFunctions | _eliminated_variables |
| Pointers to coupled variables not part of the reduced EquationSystem. | |
| std::vector< std::string > | _test_var_names |
| Names of all test variables corresponding to linear forms in this equation system. | |
| std::vector< mfem::ParFiniteElementSpace * > | _test_pfespaces |
| Pointers to finite element spaces associated with test variables. | |
| std::vector< mfem::ParFiniteElementSpace * > | _coupled_pfespaces |
| Pointers to finite element spaces associated with coupled variables. | |
| NamedFieldsMap< mfem::ParBilinearForm > | _blfs |
| NamedFieldsMap< mfem::ParLinearForm > | _lfs |
| NamedFieldsMap< mfem::ParNonlinearForm > | _nlfs |
| NamedFieldsMap< NamedFieldsMap< mfem::ParMixedBilinearForm > > | _mblfs |
| std::vector< std::unique_ptr< mfem::ParGridFunction > > | _var_ess_constraints |
| Gridfunctions holding essential constraints from Dirichlet BCs. | |
| std::vector< mfem::Array< int > > | _ess_tdof_lists |
| std::vector< mfem::Array< int > > | _ess_bdr_markers |
| mfem::Array2D< const mfem::HypreParMatrix * > | _h_blocks |
| mfem::Array2D< const mfem::HypreParMatrix * > | _jacobian_blocks |
| NamedFieldsMap< NamedFieldsMap< std::vector< std::shared_ptr< MFEMKernel > > > > | _kernels_map |
| Arrays to store kernels to act on each component of weak form. | |
| NamedFieldsMap< NamedFieldsMap< std::vector< std::shared_ptr< MFEMIntegratedBC > > > > | _integrated_bc_map |
| Arrays to store integrated BCs to act on each component of weak form. | |
| NamedFieldsMap< std::vector< std::shared_ptr< MFEMEssentialBC > > > | _essential_bc_map |
| Arrays to store essential BCs to act on each component of weak form. | |
| NamedFieldsMap< std::vector< std::shared_ptr< MFEMEssentialConstraint > > > | _essential_constraint_map |
| Arrays to store essential domain constraints to act on each component of weak form. | |
| mfem::OperatorHandle | _jacobian |
| mfem::OperatorHandle | _linear_operator |
| mfem::AssemblyLevel | _assembly_level |
| Moose::MFEM::GridFunctions * | _gfuncs |
| mfem::Array< int > | _block_true_offsets |
| const mfem::Vector * | _linearization_point = nullptr |
| bool | _non_linear = false |
| bool | _gradient_required = false |
| CoefficientManager * | _coefficient_manager = nullptr |
Private Attributes | |
| mfem::OperatorHandle | _mass_rhs |
| The mass operator (e.g. the RHS operator for a generalized eigenproblem) | |
Friends | |
| class | EigenproblemESProblemOperator |
Equation system specialization for eigenproblems.
Definition at line 27 of file EigenproblemEquationSystem.h.
|
default |
|
overridedefault |
|
protectedvirtualinherited |
Add coupled variable to EquationSystem.
Definition at line 57 of file EquationSystem.C.
Referenced by Moose::MFEM::ComplexEquationSystem::AddComplexIntegratedBC(), Moose::MFEM::ComplexEquationSystem::AddComplexKernel(), Moose::MFEM::EquationSystem::AddIntegratedBC(), and Moose::MFEM::EquationSystem::AddKernel().
|
protectedvirtualinherited |
Add eliminated variable to EquationSystem.
Definition at line 64 of file EquationSystem.C.
Referenced by Moose::MFEM::TimeDependentEquationSystem::AddKernel().
|
virtualinherited |
Add BC associated with essentially constrained DoFs on boundaries.
Definition at line 139 of file EquationSystem.C.
|
overridevirtual |
Eigenproblems mark external boundaries as essential and do not consult the constraint map, so reject constraints rather than silently ignoring them.
Reimplemented from Moose::MFEM::EquationSystem.
Definition at line 20 of file EigenproblemEquationSystem.C.
|
virtualinherited |
Definition at line 116 of file EquationSystem.C.
|
virtualinherited |
Add kernels.
Reimplemented in Moose::MFEM::TimeDependentEquationSystem.
Definition at line 93 of file EquationSystem.C.
Referenced by Moose::MFEM::TimeDependentEquationSystem::AddKernel().
|
protectedvirtualinherited |
Add test variable to EquationSystem.
Definition at line 71 of file EquationSystem.C.
Referenced by Moose::MFEM::ComplexEquationSystem::AddComplexIntegratedBC(), Moose::MFEM::ComplexEquationSystem::AddComplexKernel(), Moose::MFEM::EquationSystem::AddIntegratedBC(), Moose::MFEM::EquationSystem::AddKernel(), and Moose::MFEM::TimeDependentEquationSystem::AddKernel().
|
protectedinherited |
Template method for applying BilinearFormIntegrators on boundaries from integrated boundary conditions to a BilinearForm, or MixedBilinearForm.
Definition at line 423 of file EquationSystem.h.
|
protectedinherited |
Apply boundary LinearFormIntegrators from integrated boundary conditions to the linear form associated with the supplied test variable.
Definition at line 687 of file EquationSystem.C.
Referenced by Moose::MFEM::EquationSystem::BuildLinearForms().
|
protectedinherited |
Apply boundary NonlinearFormIntegrators from integrated boundary conditions to the nonlinear form associated with the supplied test variable.
Definition at line 715 of file EquationSystem.C.
Referenced by Moose::MFEM::EquationSystem::BuildNonlinearFormForFESpace(), Moose::MFEM::EquationSystem::BuildNonlinearForms(), and Moose::MFEM::TimeDependentEquationSystem::BuildNonlinearForms().
|
protectedinherited |
Template method for applying BilinearFormIntegrators on domains from kernels to a BilinearForm, or MixedBilinearForm.
Definition at line 394 of file EquationSystem.h.
|
protectedinherited |
Apply domain LinearFormIntegrators from kernels to the linear form associated with the supplied test variable.
Definition at line 632 of file EquationSystem.C.
Referenced by Moose::MFEM::EquationSystem::BuildLinearForms().
|
protectedinherited |
Apply domain NonlinearFormIntegrators from kernels to the nonlinear form associated with the supplied test variable.
Definition at line 655 of file EquationSystem.C.
Referenced by Moose::MFEM::EquationSystem::BuildNonlinearFormForFESpace(), Moose::MFEM::EquationSystem::BuildNonlinearForms(), and Moose::MFEM::TimeDependentEquationSystem::BuildNonlinearForms().
|
protectedvirtualinherited |
Apply essential constraints associated with var_name to set true DoFs of trial_gf, and update markers of all essential boundaries.
Definition at line 225 of file EquationSystem.C.
Referenced by Moose::MFEM::EquationSystem::ApplyEssentialConstraints(), and ApplyEssentialConstraints().
|
overrideprotectedvirtual |
Mark external boundaries as essential for eigenproblem BC elimination.
Reimplemented from Moose::MFEM::EquationSystem.
Definition at line 30 of file EigenproblemEquationSystem.C.
Referenced by BuildEigenproblemJacobian().
|
inherited |
Build a fresh ParBilinearForm on the given FESpace using the same kernels as the main system's bilinear form for var_name.
Caller owns the returned form.
Definition at line 757 of file EquationSystem.C.
|
protectedvirtualinherited |
Build bilinear forms (diagonal Jacobian contributions)
Reimplemented in Moose::MFEM::ComplexEquationSystem, and Moose::MFEM::TimeDependentEquationSystem.
Definition at line 561 of file EquationSystem.C.
Referenced by Moose::MFEM::EquationSystem::BuildEquationSystem().
| void Moose::MFEM::EigenproblemEquationSystem::BuildEigenproblemJacobian | ( | mfem::BlockVector & | trueX, |
| EigenRHSCoefficient | rhs_coefficient | ||
| ) |
Build eigenproblem system, with essential boundary conditions accounted for.
Definition at line 116 of file EigenproblemEquationSystem.C.
Referenced by Moose::MFEM::EigenproblemESProblemOperator::FormEquationSystemOperator().
|
virtualinherited |
Build all forms comprising this EquationSystem.
Definition at line 623 of file EquationSystem.C.
Referenced by Moose::MFEM::EigenproblemESProblemOperator::FormEquationSystemOperator(), and Moose::MFEM::EquationSystem::FormSystem().
|
protectedvirtualinherited |
Build linear forms and eliminate constrained DoFs.
Reimplemented in Moose::MFEM::ComplexEquationSystem.
Definition at line 518 of file EquationSystem.C.
Referenced by Moose::MFEM::EquationSystem::BuildEquationSystem().
|
protectedvirtualinherited |
Build mixed bilinear forms (off-diagonal Jacobian contributions)
Reimplemented in Moose::MFEM::ComplexEquationSystem, and Moose::MFEM::TimeDependentEquationSystem.
Definition at line 583 of file EquationSystem.C.
Referenced by Moose::MFEM::EquationSystem::BuildEquationSystem().
|
inherited |
Build a fresh ParNonlinearForm on the given FESpace using the same kernels as the main system's nonlinear form for var_name.
Caller owns the returned form.
Definition at line 771 of file EquationSystem.C.
|
protectedvirtualinherited |
Build non-linear action forms.
Reimplemented in Moose::MFEM::TimeDependentEquationSystem.
Definition at line 545 of file EquationSystem.C.
Referenced by Moose::MFEM::EquationSystem::BuildEquationSystem().
|
protectedinherited |
Error if any variable that map holds strongly constrained DoFs for is not a trial variable of this system.
Essential BCs and constraints do not create an equation for the variable they act on; they rely on one already existing, and are only ever applied while iterating the trial variables, so a variable missing from that set would have them silently dropped.
Definition at line 377 of file EquationSystem.h.
Referenced by Moose::MFEM::EquationSystem::Init(), and Moose::MFEM::ComplexEquationSystem::Init().
|
protectedvirtual |
Verify that the problem is homogeneous (all Dirichlet BCs are zero)
Definition at line 44 of file EigenproblemEquationSystem.C.
Referenced by ApplyEssentialConstraints().
|
virtualinherited |
Compute the contribution to the residual from nonlinear forms only.
Definition at line 437 of file EquationSystem.C.
Referenced by Moose::MFEM::EquationSystem::Mult().
|
protectedinherited |
Deletes the HypreParMatrix associated with any pointer stored in _h_blocks, and then proceeds to delete all dynamically allocated memory for _h_blocks itself, resetting all dimensions to zero.
Definition at line 27 of file EquationSystem.C.
Referenced by Moose::MFEM::EquationSystem::FormSystemMatrix(), Moose::MFEM::ComplexEquationSystem::FormSystemMatrix(), and Moose::MFEM::EquationSystem::~EquationSystem().
|
protectedinherited |
Deletes the HypreParMatrix associated with any pointer stored in _jacobian_blocks, and then proceeds to delete all dynamically allocated memory for _jacobian_blocks itself, resetting all dimensions to zero.
Definition at line 40 of file EquationSystem.C.
Referenced by Moose::MFEM::EquationSystem::FormJacobianMatrix(), and Moose::MFEM::EquationSystem::~EquationSystem().
|
protectedvirtualinherited |
Perform trivial eliminations of coupled variables lacking corresponding test variables.
Reimplemented in Moose::MFEM::ComplexEquationSystem, and Moose::MFEM::TimeDependentEquationSystem.
Definition at line 292 of file EquationSystem.C.
Referenced by Moose::MFEM::EquationSystem::BuildLinearForms(), and Moose::MFEM::TimeDependentEquationSystem::EliminateCoupledVariables().
|
protected |
Form HypreParMatrix matrix operator for the eigensolver with Dirichlet BC elimination.
Definition at line 63 of file EigenproblemEquationSystem.C.
Referenced by BuildEigenproblemJacobian().
|
protectedinherited |
Compute Jacobian matrix at the provided vector of true DoFs of trial variables.
Definition at line 455 of file EquationSystem.C.
Referenced by Moose::MFEM::EquationSystem::GetGradient().
|
protectedvirtualinherited |
Form linear components of system based on on- and off-diagonal bilinear form contributions, populate solution and RHS vectors of true DoFs, and apply constraints.
Definition at line 305 of file EquationSystem.C.
Referenced by Moose::MFEM::EquationSystem::FormSystem().
|
protected |
Form mass matrix for the eigensolver with Dirichlet BC elimination.
Definition at line 74 of file EigenproblemEquationSystem.C.
Referenced by BuildEigenproblemJacobian().
|
inherited |
Build all weak-form components via BuildEquationSystem(), form the constrained linear part of the system, and populate the true-DoF vectors used by the solve.
For nonlinear problems, nonlinear forms are registered here but are not folded into the assembled linear operator. Their residual action is evaluated by Mult(), and any Jacobian contribution is formed at the current nonlinear iterate by GetGradient().
This is the single public entry point for callers that want the equation system prepared for a solve. Subclasses customize the form-building step by overriding BuildEquationSystem().
Definition at line 413 of file EquationSystem.C.
Referenced by Moose::MFEM::EquationSystemProblemOperator::FormEquationSystemOperator(), and Moose::MFEM::TimeDependentEquationSystemProblemOperator::FormEquationSystemOperator().
|
protectedvirtualinherited |
Form matrix representation of linear components of system operator as a HypreParMatrix.
Used when EquationSystem assembly level is set to 'LEGACY'.
Reimplemented in Moose::MFEM::ComplexEquationSystem.
Definition at line 349 of file EquationSystem.C.
Referenced by Moose::MFEM::EquationSystem::FormLinearSystem().
|
protectedvirtualinherited |
Form matrix-free representation of linear components of system operator.
Used when EquationSystem assembly level is set to 'FULL', 'ELEMENT', 'PARTIAL', or 'NONE'.
Reimplemented in Moose::MFEM::ComplexEquationSystem.
Definition at line 319 of file EquationSystem.C.
Referenced by Moose::MFEM::EquationSystem::FormLinearSystem().
|
inlineinherited |
Definition at line 109 of file EquationSystem.h.
|
inlineinherited |
Getter for block true offsets associated with the EquationSystem operator.
Definition at line 104 of file EquationSystem.h.
|
inherited |
Return the essential boundary attribute marker array for a given trial variable.
The returned array has size == pmesh.bdr_attributes.Max() with 1 at essential boundaries.
Definition at line 782 of file EquationSystem.C.
|
inherited |
Return the essentially constrained true dofs of a given trial variable: those on essential boundaries and those set by essential constraints within subdomains.
Definition at line 792 of file EquationSystem.C.
|
overrideinherited |
Get Jacobian at the provided vector of true DoFs of trial variables.
Definition at line 486 of file EquationSystem.C.
|
inlineinherited |
Definition at line 117 of file EquationSystem.h.
|
inherited |
The true-DoF vector used for the most recent Jacobian linearization.
Definition at line 749 of file EquationSystem.C.
|
inlineinherited |
Get operator handle for linear component of system operator.
Definition at line 83 of file EquationSystem.h.
|
inlineinherited |
|
inlineinherited |
|
virtualinherited |
var_name Reimplemented in Moose::MFEM::ComplexEquationSystem.
Definition at line 802 of file EquationSystem.C.
|
virtualinherited |
Initialise.
Reimplemented in Moose::MFEM::ComplexEquationSystem.
Definition at line 172 of file EquationSystem.C.
|
inlinevirtualinherited |
Reimplemented in Moose::MFEM::ComplexEquationSystem.
Definition at line 159 of file EquationSystem.h.
|
inlineoverridevirtual |
Reimplemented from Moose::MFEM::EquationSystem.
Definition at line 39 of file EigenproblemEquationSystem.h.
|
inlineinherited |
Definition at line 165 of file EquationSystem.h.
|
inlineinherited |
Definition at line 167 of file EquationSystem.h.
Referenced by Moose::MFEM::EquationSystem::ComputeNonlinearResidual(), Moose::MFEM::EquationSystem::GetGradient(), and Moose::MFEM::EquationSystem::Mult().
|
inlinevirtualinherited |
Reimplemented in Moose::MFEM::TimeDependentEquationSystem.
Definition at line 163 of file EquationSystem.h.
|
overrideinherited |
Compute residual y = Mu.
Definition at line 428 of file EquationSystem.C.
| void Moose::MFEM::EigenproblemEquationSystem::PrepareEigensolver | ( | EigensolverBase & | solver | ) |
Prepare the provided eigensolver.
Definition at line 131 of file EigenproblemEquationSystem.C.
|
inlineinherited |
Set the coefficient manager to notify when trial variables are updated, so that stored projections of solution-dependent coefficients are invalidated.
Definition at line 93 of file EquationSystem.h.
|
inlineinherited |
Set whether an external object (such as a nonlinear solver) requires Jacobian information for this EquationSystem.
Definition at line 89 of file EquationSystem.h.
|
protectedvirtualinherited |
Set trial variable names from subset of coupled variables that have an associated test variable.
Definition at line 78 of file EquationSystem.C.
Referenced by Moose::MFEM::EquationSystem::Init(), and Moose::MFEM::ComplexEquationSystem::Init().
|
virtualinherited |
Update variable from solution vector after solve.
Reimplemented in Moose::MFEM::ComplexEquationSystem.
Definition at line 504 of file EquationSystem.C.
Referenced by Moose::MFEM::EquationSystem::ComputeNonlinearResidual().
|
protectedinherited |
Definition at line 50 of file EquationSystem.C.
Referenced by Moose::MFEM::EquationSystem::AddCoupledVariableNameIfMissing(), Moose::MFEM::EquationSystem::AddEliminatedVariableNameIfMissing(), Moose::MFEM::EquationSystem::AddTestVariableNameIfMissing(), Moose::MFEM::EquationSystem::CheckConstrainedVariablesAreTrialVariables(), Moose::MFEM::EquationSystem::EliminateCoupledVariables(), Moose::MFEM::ComplexEquationSystem::EliminateCoupledVariables(), and Moose::MFEM::EquationSystem::SetTrialVariableNames().
|
friend |
Definition at line 59 of file EigenproblemEquationSystem.h.
|
protectedinherited |
Definition at line 354 of file EquationSystem.h.
Referenced by Moose::MFEM::EquationSystem::BuildBilinearForms(), Moose::MFEM::ComplexEquationSystem::BuildBilinearForms(), Moose::MFEM::TimeDependentEquationSystem::BuildBilinearForms(), Moose::MFEM::EquationSystem::BuildMixedBilinearForms(), Moose::MFEM::ComplexEquationSystem::BuildMixedBilinearForms(), Moose::MFEM::TimeDependentEquationSystem::BuildMixedBilinearForms(), Moose::MFEM::EquationSystem::FormLinearSystem(), Moose::MFEM::EquationSystem::GetGradient(), Moose::MFEM::EquationSystem::Init(), and Moose::MFEM::ComplexEquationSystem::Init().
|
protectedinherited |
Definition at line 326 of file EquationSystem.h.
Referenced by Moose::MFEM::EquationSystem::BuildBilinearForms(), Moose::MFEM::TimeDependentEquationSystem::BuildBilinearForms(), FormEigenproblemMatrix(), Moose::MFEM::EquationSystem::FormSystemMatrix(), Moose::MFEM::EquationSystem::FormSystemOperator(), and Moose::MFEM::EquationSystem::GetBilinearForm().
|
protectedinherited |
Definition at line 359 of file EquationSystem.h.
Referenced by Moose::MFEM::EquationSystem::ComputeNonlinearResidual(), Moose::MFEM::EquationSystem::FormJacobianMatrix(), Moose::MFEM::EquationSystem::FormSystem(), and Moose::MFEM::EquationSystem::GetBlockOffsets().
|
protectedinherited |
Definition at line 368 of file EquationSystem.h.
Referenced by Moose::MFEM::EquationSystem::SetCoefficientManager(), Moose::MFEM::EquationSystem::SetTrialVariablesFromTrueVectors(), and Moose::MFEM::ComplexEquationSystem::SetTrialVariablesFromTrueVectors().
|
protectedinherited |
Pointers to finite element spaces associated with coupled variables.
Definition at line 323 of file EquationSystem.h.
Referenced by Moose::MFEM::EquationSystem::BuildMixedBilinearForms(), Moose::MFEM::ComplexEquationSystem::BuildMixedBilinearForms(), Moose::MFEM::TimeDependentEquationSystem::BuildMixedBilinearForms(), Moose::MFEM::EquationSystem::Init(), and Moose::MFEM::ComplexEquationSystem::Init().
|
protectedinherited |
Names of all trial variables of kernels and boundary conditions added to this EquationSystem.
Definition at line 309 of file EquationSystem.h.
Referenced by Moose::MFEM::EquationSystem::AddCoupledVariableNameIfMissing(), Moose::MFEM::EquationSystem::BuildMixedBilinearForms(), Moose::MFEM::ComplexEquationSystem::BuildMixedBilinearForms(), Moose::MFEM::TimeDependentEquationSystem::BuildMixedBilinearForms(), Moose::MFEM::EquationSystem::Init(), Moose::MFEM::ComplexEquationSystem::Init(), and Moose::MFEM::EquationSystem::SetTrialVariableNames().
|
protectedinherited |
Names of all coupled variables without a corresponding test variable.
Definition at line 315 of file EquationSystem.h.
Referenced by Moose::MFEM::EquationSystem::AddEliminatedVariableNameIfMissing(), Moose::MFEM::EquationSystem::EliminateCoupledVariables(), Moose::MFEM::ComplexEquationSystem::EliminateCoupledVariables(), Moose::MFEM::TimeDependentEquationSystem::EliminateCoupledVariables(), Moose::MFEM::EquationSystem::Init(), Moose::MFEM::ComplexEquationSystem::Init(), and Moose::MFEM::EquationSystem::SetTrialVariableNames().
|
protectedinherited |
Pointers to coupled variables not part of the reduced EquationSystem.
Definition at line 317 of file EquationSystem.h.
Referenced by Moose::MFEM::EquationSystem::EliminateCoupledVariables(), Moose::MFEM::TimeDependentEquationSystem::EliminateCoupledVariables(), and Moose::MFEM::EquationSystem::Init().
|
protectedinherited |
Definition at line 334 of file EquationSystem.h.
Referenced by Moose::MFEM::EquationSystem::ApplyEssentialConstraints(), Moose::MFEM::ComplexEquationSystem::ApplyEssentialConstraints(), ApplyEssentialConstraints(), FormEigenproblemMatrix(), FormMassMatrix(), and Moose::MFEM::EquationSystem::GetEssentialBoundaryMarkers().
|
protectedinherited |
Definition at line 333 of file EquationSystem.h.
Referenced by Moose::MFEM::EquationSystem::ApplyEssentialConstraints(), Moose::MFEM::ComplexEquationSystem::ApplyEssentialConstraints(), ApplyEssentialConstraints(), Moose::MFEM::EquationSystem::BuildNonlinearForms(), Moose::MFEM::TimeDependentEquationSystem::BuildNonlinearForms(), CheckProblemIsHomogeneous(), Moose::MFEM::EquationSystem::FormSystemMatrix(), Moose::MFEM::ComplexEquationSystem::FormSystemMatrix(), Moose::MFEM::EquationSystem::FormSystemOperator(), Moose::MFEM::ComplexEquationSystem::FormSystemOperator(), and Moose::MFEM::EquationSystem::GetEssentialTrueDofs().
|
protectedinherited |
Arrays to store essential BCs to act on each component of weak form.
Named according to test variable.
Definition at line 345 of file EquationSystem.h.
Referenced by Moose::MFEM::EquationSystem::AddEssentialBC(), Moose::MFEM::EquationSystem::ApplyEssentialConstraint(), and Moose::MFEM::EquationSystem::Init().
|
protectedinherited |
Arrays to store essential domain constraints to act on each component of weak form.
Named according to trial variable.
Definition at line 348 of file EquationSystem.h.
Referenced by Moose::MFEM::EquationSystem::AddEssentialConstraint(), Moose::MFEM::EquationSystem::ApplyEssentialConstraint(), Moose::MFEM::EquationSystem::HasEssentialConstraints(), and Moose::MFEM::EquationSystem::Init().
|
protectedinherited |
Definition at line 357 of file EquationSystem.h.
Referenced by Moose::MFEM::EquationSystem::ApplyEssentialConstraints(), ApplyEssentialConstraints(), Moose::MFEM::EquationSystem::GetGridFunction(), Moose::MFEM::EquationSystem::Init(), and Moose::MFEM::EquationSystem::SetTrialVariablesFromTrueVectors().
|
protectedinherited |
Definition at line 365 of file EquationSystem.h.
Referenced by Moose::MFEM::EquationSystem::ApplyBoundaryNLFIntegrators(), Moose::MFEM::EquationSystem::ApplyDomainNLFIntegrators(), and Moose::MFEM::EquationSystem::SetGradientRequired().
|
protectedinherited |
Definition at line 336 of file EquationSystem.h.
Referenced by Moose::MFEM::EquationSystem::DeleteHBlocks(), Moose::MFEM::EquationSystem::DeleteJacobianBlocks(), Moose::MFEM::EquationSystem::FormJacobianMatrix(), Moose::MFEM::EquationSystem::FormSystemMatrix(), and Moose::MFEM::ComplexEquationSystem::FormSystemMatrix().
|
protectedinherited |
Arrays to store integrated BCs to act on each component of weak form.
Named according to test and trial variables.
Definition at line 342 of file EquationSystem.h.
Referenced by Moose::MFEM::EquationSystem::AddIntegratedBC(), Moose::MFEM::EquationSystem::BuildBilinearFormForFESpace(), Moose::MFEM::EquationSystem::BuildBilinearForms(), Moose::MFEM::TimeDependentEquationSystem::BuildBilinearForms(), Moose::MFEM::EquationSystem::BuildLinearForms(), Moose::MFEM::TimeDependentEquationSystem::BuildMixedBilinearForms(), Moose::MFEM::EquationSystem::BuildNonlinearFormForFESpace(), Moose::MFEM::EquationSystem::BuildNonlinearForms(), and Moose::MFEM::TimeDependentEquationSystem::BuildNonlinearForms().
|
mutableprotectedinherited |
Definition at line 351 of file EquationSystem.h.
Referenced by FormEigenproblemMatrix(), Moose::MFEM::EquationSystem::FormJacobianMatrix(), Moose::MFEM::EquationSystem::GetGradient(), and PrepareEigensolver().
|
protectedinherited |
Definition at line 336 of file EquationSystem.h.
Referenced by Moose::MFEM::EquationSystem::DeleteHBlocks(), Moose::MFEM::EquationSystem::DeleteJacobianBlocks(), and Moose::MFEM::EquationSystem::FormJacobianMatrix().
|
protectedinherited |
Arrays to store kernels to act on each component of weak form.
Named according to test and trial variables.
Definition at line 339 of file EquationSystem.h.
Referenced by Moose::MFEM::EquationSystem::AddKernel(), Moose::MFEM::EquationSystem::BuildBilinearFormForFESpace(), Moose::MFEM::EquationSystem::BuildBilinearForms(), Moose::MFEM::TimeDependentEquationSystem::BuildBilinearForms(), Moose::MFEM::EquationSystem::BuildLinearForms(), Moose::MFEM::EquationSystem::BuildMixedBilinearForms(), Moose::MFEM::TimeDependentEquationSystem::BuildMixedBilinearForms(), Moose::MFEM::EquationSystem::BuildNonlinearFormForFESpace(), Moose::MFEM::EquationSystem::BuildNonlinearForms(), and Moose::MFEM::TimeDependentEquationSystem::BuildNonlinearForms().
|
protectedinherited |
Definition at line 327 of file EquationSystem.h.
Referenced by Moose::MFEM::EquationSystem::BuildLinearForms(), Moose::MFEM::EquationSystem::EliminateCoupledVariables(), Moose::MFEM::TimeDependentEquationSystem::EliminateCoupledVariables(), Moose::MFEM::EquationSystem::FormSystemMatrix(), and Moose::MFEM::EquationSystem::FormSystemOperator().
|
mutableprotectedinherited |
Definition at line 353 of file EquationSystem.h.
Referenced by Moose::MFEM::EquationSystem::FormSystem(), Moose::MFEM::EquationSystem::GetGradient(), Moose::MFEM::EquationSystem::GetLinearOperator(), Moose::MFEM::EquationSystem::Mult(), and Moose::MFEM::ComplexEquationSystem::Mult().
|
mutableprotectedinherited |
Definition at line 361 of file EquationSystem.h.
Referenced by Moose::MFEM::EquationSystem::GetGradient(), and Moose::MFEM::EquationSystem::GetLinearizationPoint().
|
private |
The mass operator (e.g. the RHS operator for a generalized eigenproblem)
Definition at line 62 of file EigenproblemEquationSystem.h.
Referenced by FormMassMatrix(), and PrepareEigensolver().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Definition at line 363 of file EquationSystem.h.
Referenced by Moose::MFEM::EquationSystem::ApplyBoundaryNLFIntegrators(), Moose::MFEM::EquationSystem::ApplyDomainNLFIntegrators(), and Moose::MFEM::EquationSystem::IsNonlinear().
|
protectedinherited |
Pointers to finite element spaces associated with test variables.
Definition at line 321 of file EquationSystem.h.
Referenced by Moose::MFEM::EquationSystem::BuildBilinearForms(), Moose::MFEM::ComplexEquationSystem::BuildBilinearForms(), Moose::MFEM::TimeDependentEquationSystem::BuildBilinearForms(), Moose::MFEM::EquationSystem::BuildLinearForms(), Moose::MFEM::ComplexEquationSystem::BuildLinearForms(), Moose::MFEM::EquationSystem::BuildMixedBilinearForms(), Moose::MFEM::ComplexEquationSystem::BuildMixedBilinearForms(), Moose::MFEM::TimeDependentEquationSystem::BuildMixedBilinearForms(), Moose::MFEM::EquationSystem::BuildNonlinearForms(), Moose::MFEM::TimeDependentEquationSystem::BuildNonlinearForms(), FormMassMatrix(), Moose::MFEM::EquationSystem::FormSystemMatrix(), Moose::MFEM::ComplexEquationSystem::FormSystemMatrix(), Moose::MFEM::EquationSystem::Init(), and Moose::MFEM::ComplexEquationSystem::Init().
|
protectedinherited |
Names of all test variables corresponding to linear forms in this equation system.
Definition at line 319 of file EquationSystem.h.
Referenced by Moose::MFEM::EquationSystem::AddTestVariableNameIfMissing(), Moose::MFEM::EquationSystem::BuildBilinearForms(), Moose::MFEM::ComplexEquationSystem::BuildBilinearForms(), Moose::MFEM::TimeDependentEquationSystem::BuildBilinearForms(), BuildEigenproblemJacobian(), Moose::MFEM::EquationSystem::BuildLinearForms(), Moose::MFEM::ComplexEquationSystem::BuildLinearForms(), Moose::MFEM::EquationSystem::BuildMixedBilinearForms(), Moose::MFEM::ComplexEquationSystem::BuildMixedBilinearForms(), Moose::MFEM::TimeDependentEquationSystem::BuildMixedBilinearForms(), Moose::MFEM::EquationSystem::BuildNonlinearForms(), Moose::MFEM::TimeDependentEquationSystem::BuildNonlinearForms(), Moose::MFEM::EquationSystem::ComputeNonlinearResidual(), Moose::MFEM::EquationSystem::EliminateCoupledVariables(), Moose::MFEM::ComplexEquationSystem::EliminateCoupledVariables(), Moose::MFEM::TimeDependentEquationSystem::EliminateCoupledVariables(), FormEigenproblemMatrix(), Moose::MFEM::EquationSystem::FormJacobianMatrix(), Moose::MFEM::EquationSystem::FormLinearSystem(), Moose::MFEM::EquationSystem::FormSystemMatrix(), Moose::MFEM::ComplexEquationSystem::FormSystemMatrix(), Moose::MFEM::EquationSystem::FormSystemOperator(), Moose::MFEM::ComplexEquationSystem::FormSystemOperator(), Moose::MFEM::EquationSystem::GetTestVarNames(), Moose::MFEM::EquationSystem::Init(), Moose::MFEM::ComplexEquationSystem::Init(), Moose::MFEM::EquationSystem::IsMultivariate(), and Moose::MFEM::EquationSystem::SetTrialVariableNames().
|
protectedinherited |
Subset of _coupled_var_names of all variables corresponding to gridfunctions with degrees of freedom that comprise the state vector of this EquationSystem.
This will differ from _coupled_var_names when time derivatives or other eliminated variables are present.
Definition at line 313 of file EquationSystem.h.
Referenced by Moose::MFEM::EquationSystem::ApplyEssentialConstraints(), Moose::MFEM::ComplexEquationSystem::ApplyEssentialConstraints(), ApplyEssentialConstraints(), BuildEigenproblemJacobian(), Moose::MFEM::TimeDependentEquationSystem::BuildMixedBilinearForms(), Moose::MFEM::EquationSystem::CheckConstrainedVariablesAreTrialVariables(), CheckProblemIsHomogeneous(), Moose::MFEM::EquationSystem::FormJacobianMatrix(), Moose::MFEM::EquationSystem::FormLinearSystem(), Moose::MFEM::EquationSystem::FormSystem(), Moose::MFEM::EquationSystem::FormSystemMatrix(), Moose::MFEM::ComplexEquationSystem::FormSystemMatrix(), Moose::MFEM::EquationSystem::FormSystemOperator(), Moose::MFEM::EquationSystem::GetEssentialBoundaryMarkers(), Moose::MFEM::EquationSystem::GetEssentialTrueDofs(), Moose::MFEM::EquationSystem::GetTrialVarNames(), Moose::MFEM::EquationSystem::Init(), Moose::MFEM::EquationSystem::SetTrialVariableNames(), Moose::MFEM::EquationSystem::SetTrialVariablesFromTrueVectors(), and Moose::MFEM::ComplexEquationSystem::SetTrialVariablesFromTrueVectors().
|
protectedinherited |
Gridfunctions holding essential constraints from Dirichlet BCs.
Definition at line 332 of file EquationSystem.h.
Referenced by Moose::MFEM::EquationSystem::ApplyEssentialConstraints(), ApplyEssentialConstraints(), CheckProblemIsHomogeneous(), Moose::MFEM::EquationSystem::FormSystemMatrix(), Moose::MFEM::EquationSystem::FormSystemOperator(), and Moose::MFEM::EquationSystem::Init().