23 #if defined(LIBMESH_HAVE_SLEPC) && defined(LIBMESH_HAVE_GLPK) 26 #include "libmesh/rb_construction.h" 27 #include "libmesh/rb_scm_construction.h" 28 #include "libmesh/fe_base.h" 29 #include "libmesh/rb_evaluation.h" 30 #include "libmesh/rb_scm_evaluation.h" 49 #ifdef LIBMESH_ENABLE_DIRICHLET 97 const std::string &
name,
153 FEBase * elem_fe =
nullptr;
160 FEBase * side_fe =
nullptr;
162 side_fe->get_nothing();
184 #endif // LIBMESH_ENABLE_DIRICHLET 186 #endif // LIBMESH_HAVE_SLEPC && LIBMESH_HAVE_GLPK This is the EquationSystems class.
void get_side_fe(unsigned int var, FEGenericBase< OutputShape > *&fe) const
Accessor for edge/face (2D/3D) finite element object for variable var for the largest dimension in th...
RBConstruction Parent
The type of the parent.
This class allows one to associate Dirichlet boundary values with a given set of mesh boundary ids an...
virtual ~SimpleRBConstruction()
Destructor.
const Parallel::Communicator & comm() const
Ex02RBAssemblyExpansion ex02_rb_assembly_expansion
The object that stores the "assembly" expansion of the parameter dependent PDE, i.e.
This class stores the set of RBTheta functor objects that define the "parameter-dependent expansion" ...
static std::unique_ptr< DirichletBoundary > build_zero_dirichlet_boundary_object()
It's helpful to be able to generate a DirichletBoundary that stores a ZeroFunction in order to impose...
virtual Real get_SCM_LB()
Evaluate single SCM lower bound.
virtual void init_context(FEMContext &c)
Pre-request all relevant element data.
unsigned int number() const
Ex02RBThetaExpansion ex02_rb_theta_expansion
The object that stores the "theta" expansion of the parameter dependent PDE, i.e. ...
This class is part of the rbOOmit framework.
void set_rb_assembly_expansion(RBAssemblyExpansion &rb_assembly_expansion_in)
Set the rb_assembly_expansion object.
unsigned int u_var
Variable number for u.
virtual void init_data()
Initialize data structures.
This class provides all data required for a physics package (e.g.
unsigned int add_variable(std::string_view var, const FEType &type, const std::set< subdomain_id_type > *const active_subdomains=nullptr)
Adds the variable var to the list of variables for this system.
RBSCMEvaluation * rb_scm_eval
Pointer to the SCM object that will provide our coercivity constant lower bound.
SimpleRBEvaluation(const libMesh::Parallel::Communicator &comm)
Constructor.
const RBParameters & get_parameters() const
Get the current parameters.
void set_inner_product_assembly(ElemAssembly &inner_product_assembly_in)
Set the rb_assembly_expansion object.
This class is part of the rbOOmit framework.
FEGenericBase< Real > FEBase
void set_rb_theta_expansion(RBThetaExpansion &rb_theta_expansion_in)
Set the RBThetaExpansion object.
This class is part of the rbOOmit framework.
bool set_parameters(const RBParameters ¶ms)
Set the current parameters to params The parameters are checked for validity; an error is thrown if t...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
This class stores the set of ElemAssembly functor objects that define the "parameter-independent expa...
virtual Real get_stability_lower_bound()
We override get_stability_lower_bound so that it calls rb_scm_eval to return a parameter-dependent lo...
void add_dirichlet_boundary(const DirichletBoundary &dirichlet_boundary)
Adds a copy of the specified Dirichlet boundary to the system.
void get_element_fe(unsigned int var, FEGenericBase< OutputShape > *&fe) const
Accessor for interior finite element object for variable var for the largest dimension in the mesh...
This class is part of the rbOOmit framework.
const std::string & name() const
virtual void init_data()
Initializes the member data fields associated with the system, so that, e.g., assemble() may be used...
SimpleRBConstruction(EquationSystems &es, const std::string &name, const unsigned int number)
SimpleRBConstruction sys_type
The type of system.
const DofMap & get_dof_map() const
This class is part of the rbOOmit framework.
std::unique_ptr< DirichletBoundary > dirichlet_bc
The object that defines which degrees of freedom are on a Dirichlet boundary.