12 #ifndef MFEM_BILINEARFORM
13 #define MFEM_BILINEARFORM
15 #include "../config/config.hpp"
16 #include "../linalg/linalg.hpp"
126 virtual double &
Elem(
int i,
int j);
129 virtual const double &
Elem(
int i,
int j)
const;
150 virtual void Finalize(
int skip_zeros = 1);
171 if (
mat != NULL) { *
mat = a; }
214 int copy_interior = 0);
309 virtual double&
Elem (
int i,
int j);
311 virtual const double&
Elem (
int i,
int j)
const;
316 const double a = 1.0)
const;
319 const double a = 1.0)
const;
326 virtual void Finalize (
int skip_zeros = 1);
422 virtual void Assemble(
int skip_zeros = 1);
Class for grid function - Vector with associated FE space.
Data type dense matrix using column-major storage.
void AddMult(const Vector &x, Vector &y, const double a=1.0) const
y += A * x (default) or y += a * A * x
Abstract data type for matrix inverse.
void AddDomainInterpolator(DiscreteInterpolator *di)
DiscreteLinearOperator(FiniteElementSpace *domain_fes, FiniteElementSpace *range_fes)
Abstract data type matrix.
Abstract finite element space.
virtual void Mult(const Vector &x, Vector &y) const
Matrix vector multiplication.
void AddTraceFaceInterpolator(DiscreteInterpolator *di)
FiniteElementSpace * GetTraceFESpace()
Return a pointer to the reduced/trace FE space.
void ConformingProject(Vector &x) const
virtual void Assemble(int skip_zeros=1)
Rank 3 tensor (array of matrices)
Array< BilinearFormIntegrator * > * GetDI()
double InnerProduct(const Vector &x, const Vector &y) const
Compute y^t A x.