MFEM
v3.3.2
Finite element discretization library
|
#include <tbilinearform.hpp>
Classes | |
struct | S_spec |
struct | T_result |
Public Member Functions | |
TBilinearForm (const IntegratorType &integ, const FiniteElementSpace &sol_fes) | |
virtual | ~TBilinearForm () |
virtual const Operator * | GetProlongation () const |
Get the input finite element space prolongation matrix. More... | |
virtual const Operator * | GetRestriction () const |
Get the input finite element space restriction matrix. More... | |
virtual void | Mult (const Vector &x, Vector &y) const |
Operator application: y=A(x) . More... | |
void | MultUnassembled (const Vector &x, Vector &y) const |
void | Assemble () |
template<int num_elem> | |
MFEM_ALWAYS_INLINE void | ElementAddMultAssembled (int el, solFieldEval &solFEval) const |
template<int num_elem> | |
void | MultAssembled (const Vector &x, Vector &y) const |
void | TestElementwiseExtractAssemble (const Vector &x, Vector &y) const |
void | SerializeNodes (Vector &sNodes) const |
void | AssembleFromSerializedNodes (const Vector &sNodes) |
void | Serialize (const Vector &x, Vector &sx) const |
void | MultAssembledSerialized (const Vector &sx, Vector &sy) const |
void | AssembleMatrix (SparseMatrix &M) const |
void | AssembleMatrix (DenseTensor &M) const |
void | AssembleBilinearForm (BilinearForm &a) const |
void | AddMult (DenseTensor &M, const Vector &x, Vector &y) const |
Public Member Functions inherited from mfem::Operator | |
Operator (int s=0) | |
Construct a square Operator with given size s (default 0). More... | |
Operator (int h, int w) | |
Construct an Operator with the given height (output size) and width (input size). More... | |
int | Height () const |
Get the height (size of output) of the Operator. Synonym with NumRows(). More... | |
int | NumRows () const |
Get the number of rows (size of output) of the Operator. Synonym with Height(). More... | |
int | Width () const |
Get the width (size of input) of the Operator. Synonym with NumCols(). More... | |
int | NumCols () const |
Get the number of columns (size of input) of the Operator. Synonym with Width(). More... | |
virtual void | MultTranspose (const Vector &x, Vector &y) const |
Action of the transpose operator: y=A^t(x) . The default behavior in class Operator is to generate an error. More... | |
virtual Operator & | GetGradient (const Vector &x) const |
Evaluate the gradient operator at the point x. The default behavior in class Operator is to generate an error. More... | |
void | FormLinearSystem (const Array< int > &ess_tdof_list, Vector &x, Vector &b, Operator *&A, Vector &X, Vector &B, int copy_interior=0) |
Form a constrained linear system using a matrix-free approach. More... | |
virtual void | RecoverFEMSolution (const Vector &X, const Vector &b, Vector &x) |
Reconstruct a solution vector x (e.g. a GridFunction) from the solution X of a constrained linear system obtained from Operator::FormLinearSystem(). More... | |
void | PrintMatlab (std::ostream &out, int n=0, int m=0) const |
Prints operator with input size n and output size m in Matlab format. More... | |
virtual | ~Operator () |
Virtual destructor. More... | |
Protected Types | |
typedef complex_t | complex_type |
typedef real_t | real_type |
typedef meshType::FE_type | meshFE_type |
typedef ShapeEvaluator < meshFE_type, IR, real_t > | meshShapeEval |
typedef solFESpace::FE_type | solFE_type |
typedef ShapeEvaluator < solFE_type, IR, real_t > | solShapeEval |
typedef solVecLayout_t | solVecLayout_type |
typedef IntegratorType | integ_t |
typedef integ_t::coefficient_type | coeff_t |
typedef integ_t::template kernel< sdim, dim, complex_t > ::type | kernel_t |
typedef kernel_t::template p_asm_data< qpts >::type | p_assembled_t |
typedef kernel_t::template f_asm_data< qpts >::type | f_assembled_t |
typedef TElementTransformation < meshType, IR, real_t > | Trans_t |
typedef FieldEvaluator < solFESpace, solVecLayout_t, IR, complex_t, real_t > | solFieldEval |
Protected Attributes | |
meshType | mesh |
meshShapeEval | meshEval |
solFE_type | sol_fe |
solShapeEval | solEval |
solFESpace | solFES |
solVecLayout_t | solVecLayout |
IR | int_rule |
coeff_t | coeff |
p_assembled_t * | assembled_data |
const FiniteElementSpace & | in_fes |
Protected Attributes inherited from mfem::Operator | |
int | height |
Dimension of the output / number of rows in the matrix. More... | |
int | width |
Dimension of the input / number of columns in the matrix. More... | |
Static Protected Attributes | |
static const int | dim = meshType::dim |
static const int | sdim = meshType::space_dim |
static const int | dofs = solFE_type::dofs |
static const int | vdim = solVecLayout_t::vec_dim |
static const int | qpts = IR::qpts |
Additional Inherited Members | |
Public Types inherited from mfem::Operator | |
enum | Type { MFEM_SPARSEMAT, Hypre_ParCSR, PETSC_MATAIJ, PETSC_MATIS, PETSC_MATSHELL, PETSC_MATNEST, PETSC_MATHYPRE, PETSC_MATGENERIC } |
Enumeration defining IDs for some classes derived from Operator. More... | |
Definition at line 34 of file tbilinearform.hpp.
|
protected |
Definition at line 53 of file tbilinearform.hpp.
|
protected |
Definition at line 37 of file tbilinearform.hpp.
|
protected |
Definition at line 56 of file tbilinearform.hpp.
|
protected |
Definition at line 52 of file tbilinearform.hpp.
|
protected |
Definition at line 54 of file tbilinearform.hpp.
|
protected |
Definition at line 40 of file tbilinearform.hpp.
|
protected |
Definition at line 41 of file tbilinearform.hpp.
|
protected |
Definition at line 55 of file tbilinearform.hpp.
|
protected |
Definition at line 38 of file tbilinearform.hpp.
|
protected |
Definition at line 42 of file tbilinearform.hpp.
|
protected |
Definition at line 67 of file tbilinearform.hpp.
|
protected |
Definition at line 43 of file tbilinearform.hpp.
|
protected |
Definition at line 44 of file tbilinearform.hpp.
|
protected |
Definition at line 58 of file tbilinearform.hpp.
|
inline |
Definition at line 94 of file tbilinearform.hpp.
|
inlinevirtual |
Definition at line 108 of file tbilinearform.hpp.
|
inline |
Definition at line 507 of file tbilinearform.hpp.
|
inline |
Definition at line 178 of file tbilinearform.hpp.
|
inline |
Definition at line 435 of file tbilinearform.hpp.
|
inline |
Definition at line 285 of file tbilinearform.hpp.
|
inline |
Definition at line 355 of file tbilinearform.hpp.
|
inline |
Definition at line 397 of file tbilinearform.hpp.
|
inline |
Definition at line 209 of file tbilinearform.hpp.
|
inlinevirtual |
Get the input finite element space prolongation matrix.
Reimplemented from mfem::Operator.
Definition at line 114 of file tbilinearform.hpp.
|
inlinevirtual |
Get the input finite element space restriction matrix.
Reimplemented from mfem::Operator.
Definition at line 117 of file tbilinearform.hpp.
|
inlinevirtual |
Operator application: y=A(x)
.
Implements mfem::Operator.
Definition at line 120 of file tbilinearform.hpp.
|
inline |
Definition at line 224 of file tbilinearform.hpp.
|
inline |
Definition at line 331 of file tbilinearform.hpp.
|
inline |
Definition at line 134 of file tbilinearform.hpp.
|
inline |
Definition at line 312 of file tbilinearform.hpp.
|
inline |
Definition at line 265 of file tbilinearform.hpp.
|
inline |
Definition at line 245 of file tbilinearform.hpp.
|
protected |
Definition at line 89 of file tbilinearform.hpp.
|
protected |
Definition at line 87 of file tbilinearform.hpp.
|
staticprotected |
Definition at line 46 of file tbilinearform.hpp.
|
staticprotected |
Definition at line 48 of file tbilinearform.hpp.
|
protected |
Definition at line 91 of file tbilinearform.hpp.
|
protected |
Definition at line 85 of file tbilinearform.hpp.
|
protected |
Definition at line 77 of file tbilinearform.hpp.
|
protected |
Definition at line 78 of file tbilinearform.hpp.
|
staticprotected |
Definition at line 50 of file tbilinearform.hpp.
|
staticprotected |
Definition at line 47 of file tbilinearform.hpp.
|
protected |
Definition at line 80 of file tbilinearform.hpp.
|
protected |
Definition at line 81 of file tbilinearform.hpp.
|
mutableprotected |
Definition at line 82 of file tbilinearform.hpp.
|
protected |
Definition at line 83 of file tbilinearform.hpp.
|
staticprotected |
Definition at line 49 of file tbilinearform.hpp.