12 #ifndef MFEM_COMPLEX_BLOCK_STATIC_CONDENSATION 13 #define MFEM_COMPLEX_BLOCK_STATIC_CONDENSATION 29 Mesh * mesh =
nullptr;
30 bool parallel =
false;
76 bool Parallel()
const {
return parallel; }
81 void GetReduceElementIndicesAndOffsets(
int el,
Array<int> & tr_idx,
85 void GetReduceElementVDofs(
int el,
Array<int> & rdofs)
const;
86 void GetElementVDofs(
int el,
Array<int> & vdofs)
const;
99 void ComputeOffsets();
101 void BuildProlongation();
103 void BuildParallelProlongation();
108 void FillEssTdofLists(
const Array<int> & ess_tdof_list);
110 void ConformingAssemble(
int skip_zeros);
114 void ConvertMarkerToReducedTrueDofs(
Array<int> & tdof_marker,
148 return S_e_r || pS_e_r;
206 int copy_interior = 0)
const;
void SetEssentialTrueDofs(const Array< int > &ess_tdof_list)
Determine and save internally essential reduced true dofs.
Class that performs static condensation of interior dofs for multiple FE spaces for complex systems (...
BlockMatrix & GetSchurMatrix_i()
A class to handle Vectors in a block fashion.
BlockOperator & GetParallelSchurMatrix_r()
Return the parallel Schur complement matrix.
Mimic the action of a complex operator using two real operators.
BlockOperator & GetParallelSchurMatrix_i()
void ParallelAssemble(BlockMatrix *m_r, BlockMatrix *m_i)
ComplexBlockStaticCondensation(Array< FiniteElementSpace *> &fes_)
bool HasEliminatedBC() const
BlockOperator & GetParallelSchurMatrixElim_i()
void ReduceSystem(Vector &x, Vector &X, Vector &B, int copy_interior=0) const
Set the reduced solution X and r.h.s B vectors from the full linear system solution x and r...
void ReduceSolution(const Vector &sol, Vector &sc_sol) const
void ComputeSolution(const Vector &sc_sol, Vector &sol) const
BlockMatrix & GetSchurMatrix_r()
Return the serial Schur complement matrix.
BlockOperator & GetParallelSchurMatrixElim_r()
Return the eliminated part of the parallel Schur complement matrix.
BlockMatrix & GetSchurMatrixElim_i()
void AssembleReducedSystem(int el, ComplexDenseMatrix &elmat, Vector &elvect_r, Vector &elvect_i)
A class to initialize the size of a Tensor.
void ConvertListToReducedTrueDofs(const Array< int > &ess_tdof_list, Array< int > &ess_rtdof_list) const
DiagonalPolicy
Defines operator diagonal policy upon elimination of rows and/or columns.
ComplexOperator & GetSchurComplexOperator()
void Finalize(int skip_zeros=0)
Finalize the construction of the Schur complement matrix.
void EliminateReducedTrueDofs(const Array< int > &ess_rtdof_list, Matrix::DiagonalPolicy dpolicy)
Eliminate the given reduced true dofs from the Schur complement matrix S.
void FormSystemMatrix(Operator::DiagonalPolicy diag_policy)
~ComplexBlockStaticCondensation()
BlockMatrix & GetSchurMatrixElim_r()
Return the eliminated part of the serial Schur complement matrix.
A class to handle Block systems in a matrix-free implementation.
Specialization of the ComplexOperator built from a pair of Dense Matrices. The purpose of this specia...