12#ifndef MFEM_HYBRIDIZATION
13#define MFEM_HYBRIDIZATION
Data type dense matrix using column-major storage.
Class FiniteElementSpace - responsible for providing FEM view of the mesh, mainly managing the set of...
Auxiliary class Hybridization, used to implement BilinearForm hybridization.
void Reset()
Destroy the current hybridization matrix while preserving the computed constraint matrix and the set ...
~Hybridization()
Destructor.
void Init(const Array< int > &ess_tdof_list)
Prepare the Hybridization object for assembly.
SparseMatrix & GetMatrix()
Return the serial hybridized matrix.
void AssembleBdrMatrix(int bdr_el, const DenseMatrix &A)
Assemble the boundary element matrix A into the hybridized system matrix.
FiniteElementSpace * c_fes
void SetOperatorType(Operator::Type tid)
Set the operator type id for the parallel hybridized matrix/operator.
void AssembleMatrix(int el, const DenseMatrix &A)
Assemble the element matrix A into the hybridized system matrix.
BilinearFormIntegrator * c_bfi
void MultAfInv(const Vector &b, const Vector &lambda, Vector &bf, int mode) const
void GetIBDofs(int el, Array< int > &i_dofs, Array< int > &b_dofs) const
Array< int > hat_dofs_marker
void ComputeSolution(const Vector &b, const Vector &sol_r, Vector &sol) const
Array< int > Af_f_offsets
void Finalize()
Finalize the construction of the hybridized matrix.
Hybridization(FiniteElementSpace *fespace, FiniteElementSpace *c_fespace)
Constructor.
HypreParMatrix & GetParallelMatrix()
Return the parallel hybridized matrix.
void GetParallelMatrix(OperatorHandle &H_h) const
Return the parallel hybridized matrix in the format specified by SetOperatorType().
void GetBDofs(int el, int &num_idofs, Array< int > &b_dofs) const
void ReduceRHS(const Vector &b, Vector &b_r) const
void SetConstraintIntegrator(BilinearFormIntegrator *c_integ)
Wrapper for hypre's ParCSR matrix class.
Pointer to an Operator of a specified type.
void SetType(Operator::Type tid)
Invoke Clear() and set a new type id.
OpType * Is() const
Return the Operator pointer dynamically cast to a specified OpType.
Type
Enumeration defining IDs for some classes derived from Operator.