20 #ifndef LIBMESH_RB_THETA_EXPANSION_H 21 #define LIBMESH_RB_THETA_EXPANSION_H 24 #include "libmesh/libmesh_common.h" 25 #include "libmesh/reference_counted_object.h" 70 const std::vector<RBParameters> & mus)
const;
82 const std::vector<RBParameters> & mus)
const;
96 const std::vector<RBParameters> & mus)
const;
195 #endif // LIBMESH_RB_THETA_EXPANSION_H std::vector< RBTheta * > _A_theta_vector
Vector storing the pointers to the RBTheta functors for A.
virtual Number eval_output_theta(unsigned int output_index, unsigned int q_l, const RBParameters &mu) const
Evaluate theta_q_l at the current parameter.
virtual Number eval_A_theta(unsigned int q, const RBParameters &mu) const
Evaluate theta_q_a at the current parameter.
unsigned int get_n_F_terms() const
Get Q_f, the number of terms in the affine expansion for the right-hand side.
RBThetaExpansion & operator=(const RBThetaExpansion &)=default
virtual ~RBThetaExpansion()=default
unsigned int get_n_A_terms() const
Get Q_a, the number of terms in the affine expansion for the bilinear form.
virtual void attach_multiple_A_theta(std::vector< std::unique_ptr< RBTheta >> &theta_q_a)
Attach a vector of pointers to functor objects that each define one of the theta_q_a terms...
The libMesh namespace provides an interface to certain functionality in the library.
unsigned int output_index_1D(unsigned int n, unsigned int q_l) const
Computes the one-dimensional index for output n, term q_l implied by a "row-major" ordering of the ou...
unsigned int get_n_outputs() const
Get n_outputs, the number output functionals.
This class stores the set of RBTheta functor objects that define the "parameter-dependent expansion" ...
virtual void attach_F_theta(RBTheta *theta_q_f)
Attach a pointer to a functor object that defines one of the theta_q_a terms.
virtual void attach_multiple_F_theta(std::vector< std::unique_ptr< RBTheta >> &theta_q_f)
Attach a vector of pointers to functor objects that each define one of the theta_q_f terms...
std::vector< RBTheta * > _F_theta_vector
Vector storing the RBTheta functors for the affine expansion of the rhs.
virtual void attach_output_theta(std::vector< std::unique_ptr< RBTheta >> &theta_q_l)
Attach a vector of pointers to functor objects that define one of the outputs.
virtual Number eval_F_theta(unsigned int q, const RBParameters &mu) const
Evaluate theta_q_f at the current parameter.
std::vector< std::vector< RBTheta * > > _output_theta_vector
Vector storing the RBTheta functors for the affine expansion of the outputs.
This class is part of the rbOOmit framework.
This class implements reference counting.
unsigned int get_n_output_terms(unsigned int output_index) const
Get the number of affine terms associated with the specified output.
RBThetaExpansion()=default
All special functions can be defaulted for this simple class.
unsigned int get_total_n_output_terms() const
Returns the total number of affine terms associated with all outputs.
This class is part of the rbOOmit framework.
virtual void attach_A_theta(RBTheta *theta_q_a)
Attach a pointer to a functor object that defines one of the theta_q_a terms.