bilinearForm.hh
Product of scalar and a bilinear form with possible different field type F.
Definition: bilinearForm.hh:274
virtual BilinearFormContainer< F, G > * clone() const
Virtual copy constructor.
Definition: bilinearForm.hh:159
BilinearFormContainer(const BilinearForm< F, G > &bf)
Constructor for an element formula, takes a clone.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
BilinearFormContainer(const BilinearFormContainer< F, G > &frm)
Copy constructor.
Exception class to express that the RCP pointer points to 0.
Definition: bilinearForm.hh:186
ElementFormulaContainer< Real > operator-(const ElementFormulaContainer< Real > frm, const Real a)
Simple subtracting of a element formulas and a constant via –operator.
GenericElement< KarniadakisMixin< F > > Element
template aliases for backwards compatibility
Definition: element.hh:270
Point< typename Combtype< F, Real >::type, dim > operator*(const Real x, const Point< F, dim > &y)
Definition: vectorsMatrices.hh:240
virtual void operator()(const Element< G > &elmX, const Element< G > &elmY, ElementMatrix< F > &em) const
virtual const TMatrixBase< F > & T() const =0
Returns the T matrix of the element.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
concepts::RCP< BilinearForm< F, G > > bA
Definition: bilinearForm.hh:114
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Definition: bilinearForm.hh:252
Abstract function class to evaluate a bilinear form.
Definition: bilinearForm.hh:33
virtual ~BilinearFormLiCo()
Definition: bilinearForm.hh:101
std::unique_ptr< BilinearForm< F, G > > bfAptr_
Definition: bilinearForm.hh:109
BilinearF_Sum(const BilinearFormContainer< H, G > bf1, const BilinearFormContainer< J, G > bf2)
Definition: bilinearForm.hh:212
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Definition: bilinearForm.hh:308
virtual BilinearFormLiCo< F, G > * clone() const
Virtual constructor.
void operator()(const Element< G > &elmX, const Element< G > &elmY, ElementMatrix< F > &em) const
Definition: bilinearForm.hh:285
BilinearFormLiCo(const BilinearFormLiCo &b)
Copy constructor. This copy constructor implements a deep copy.
std::complex< Real > Cmplx
Type for a complex number. It also depends on the setting of Real.
Definition: typedefs.hh:39
BilinearF_W(const BilinearFormContainer< H, G > bf1, const J w)
Definition: bilinearForm.hh:276
virtual void operator()(const Element< G > &elmX, const Element< G > &elmY, ElementMatrix< F > &em) const
virtual BilinearF_Sum< F, H, J, G > * clone() const
Virtual constructor.
Definition: bilinearForm.hh:247
concepts::RCP< BilinearForm< F, G > > bB
Definition: bilinearForm.hh:114
virtual ~PointerToEmptyBilinearForm()
Definition: bilinearForm.hh:193
std::string errorMessage_
Definition: bilinearForm.hh:197
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
virtual void operator()(const Element< G > &elmX, const Element< G > &elmY, ElementMatrix< F > &em) const =0
Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the mat...
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
BilinearFormContainer(const BilinearForm< F, G > *frm)
void operator()(const Element< G > &elmX, const Element< G > &elmY, ElementMatrix< F > &em) const
Definition: bilinearForm.hh:222
BilinearFormContainer(const RCP< const BilinearForm< F, G > > frm)
Frm_Sum< Real > operator+(const Formula< Real > &frm, const Real a)
Simple adding two formulas by +-operator.
std::unique_ptr< BilinearForm< F, G > > bfBptr_
Definition: bilinearForm.hh:109
virtual ~BilinearFormContainer()
ElementMatrix< F > em_
Local element matrix used as temporary storage.
Definition: bilinearForm.hh:121
RCP< const BilinearForm< F, G > > bf_
bilinear form is stored as a RCP
Definition: bilinearForm.hh:174
virtual BilinearF_W< F, H, J, G > * clone() const
Virtual constructor.
Definition: bilinearForm.hh:303
virtual void operator()(const Element< G > &elmX, const Element< G > &elmY, ElementMatrix< F > &em, const ElementPair< G > &ep) const
Evaluates the bilinear form for all shape functions on elmX and elmY and stores the result in the mat...
Definition: bilinearForm.hh:57
Sum of two bilinear forms of possible different underlying field type F.
Definition: bilinearForm.hh:210
BilinearFormLiCo(BilinearForm< F, G > &bfA, BilinearForm< F, G > &bfB, const F cA=1.0, const F cB=1.0)
Constructor.
Definition: bilinearForm.hh:91