15 #include "../config/config.hpp"
19 #include "../linalg/hypre.hpp"
20 #include "../mesh/pmesh.hpp"
21 #include "../mesh/nurbs.hpp"
83 void GenerateGlobalOffsets();
86 void ConstructTrueDofs();
87 void ConstructTrueNURBSDofs();
96 Dependency(
int r,
int d,
double c) : rank(r), dof(d), coef(c) {}
105 DepList() : type(0) {}
107 bool IsTrueDof(
int my_rank)
const
108 {
return type == 0 || (type == 1 && list[0].rank == my_rank); }
111 void AddSlaveDependencies(DepList deps[],
int master_rank,
112 const Array<int> &master_dofs,
int master_ndofs,
115 void Add1To1Dependencies(DepList deps[],
int owner_rank,
116 const Array<int> &owner_dofs,
int owner_ndofs,
119 void GetDofs(
int type,
int index,
Array<int>& dofs);
120 void ReorderFaceDofs(
Array<int> &dofs,
int orient);
125 void GetParallelConformingInterpolation();
244 #endif // MFEM_USE_MPI
Abstract class for Finite Elements.
virtual int GetTrueVSize()
Return the number of local vector true dofs.
HypreParVector * NewTrueDofVector()
int VDofToDof(int vdof) const
HYPRE_Int * GetDofOffsets()
HYPRE_Int GlobalTrueVSize()
Data type dense matrix using column-major storage.
void DivideByGroupSize(double *vec)
Scale a vector of true dofs.
Abstract parallel finite element space.
void Synchronize(Array< int > &ldof_marker) const
virtual const SparseMatrix * GetRestrictionMatrix()
Get the R matrix which restricts a local dof vector to true dof vector.
void Lose_Dof_TrueDof_Matrix()
const HYPRE_Int * GetFaceNbrGlobalDofMap()
HYPRE_Int GetMyDofOffset() const
HYPRE_Int * GetTrueDofOffsets()
virtual void GetBdrElementDofs(int i, Array< int > &dofs) const
Returns indexes of degrees of freedom for i'th boundary element.
void GetFaceNbrElementVDofs(int i, Array< int > &vdofs) const
HYPRE_Int GetGlobalNumRows() const
const FiniteElement * GetFaceNbrFE(int i) const
void ExchangeFaceNbrData()
HYPRE_Int GetGlobalNumCols() const
void LoseTrueDofOffsets()
void LoseData()
NULL-ifies the data.
HYPRE_Int GetMyTDofOffset() const
int GetLocalTDofNumber(int ldof)
virtual void GetFaceDofs(int i, Array< int > &dofs) const
HypreParMatrix * Dof_TrueDof_Matrix()
The true dof-to-dof interpolation matrix.
Wrapper for hypre's parallel vector class.
Abstract finite element space.
virtual void GetEssentialTrueDofs(const Array< int > &bdr_attr_is_ess, Array< int > &ess_tdof_list)
GroupCommunicator & GroupComm()
Return a reference to the internal GroupCommunicator (on VDofs)
HYPRE_Int GetGlobalScalarTDofNumber(int sldof)
bool Nonconforming() const
virtual void GetElementDofs(int i, Array< int > &dofs) const
Returns indexes of degrees of freedom in array dofs for i'th element.
Table face_nbr_element_dof
virtual ~ParFiniteElementSpace()
int GetFaceNbrVSize() const
virtual void GetEssentialVDofs(const Array< int > &bdr_attr_is_ess, Array< int > &ess_dofs) const
Determine the boundary degrees of freedom.
NURBSExtension * NURBSext
Wrapper for hypre's ParCSR matrix class.
GroupCommunicator * ScalarGroupComm()
Return a new GroupCommunicator on Dofs.
Class for parallel meshes.
virtual FiniteElementSpace * SaveUpdate()
Return a copy of the current FE space and update.
HYPRE_Int GetGlobalTDofNumber(int ldof)
Returns the global tdof number of the given local degree of freedom.
Array< HYPRE_Int > face_nbr_glob_dof_map