MFEM v4.7.0
Finite element discretization library
|
Parallel version of AlgebraicCoarseSpace. More...
#include <algebraic.hpp>
Public Member Functions | |
ParAlgebraicCoarseSpace (FiniteElementSpace &fine_fes, CeedElemRestriction fine_er, int order, int dim, int order_reduction_, GroupCommunicator *gc_fine) | |
virtual const mfem::Operator * | GetProlongationMatrix () const override |
The returned Operator is owned by the FiniteElementSpace. | |
virtual const SparseMatrix * | GetRestrictionMatrix () const override |
The returned SparseMatrix is owned by the FiniteElementSpace. | |
GroupCommunicator * | GetGroupCommunicator () const |
HypreParMatrix * | GetProlongationHypreParMatrix () |
~ParAlgebraicCoarseSpace () | |
Public Member Functions inherited from mfem::ceed::AlgebraicCoarseSpace | |
AlgebraicCoarseSpace (FiniteElementSpace &fine_fes, CeedElemRestriction fine_er, int order, int dim, int order_reduction_) | |
int | GetOrderReduction () const |
CeedElemRestriction | GetCeedElemRestriction () const |
CeedBasis | GetCeedCoarseToFine () const |
~AlgebraicCoarseSpace () | |
Public Member Functions inherited from mfem::FiniteElementSpace | |
FiniteElementSpace () | |
Default constructor: the object is invalid until initialized using the method Load(). | |
FiniteElementSpace (const FiniteElementSpace &orig, Mesh *mesh=NULL, const FiniteElementCollection *fec=NULL) | |
Copy constructor: deep copy all data from orig except the Mesh, the FiniteElementCollection, and some derived data. | |
FiniteElementSpace (Mesh *mesh, const FiniteElementCollection *fec, int vdim=1, int ordering=Ordering::byNODES) | |
FiniteElementSpace (Mesh *mesh, NURBSExtension *ext, const FiniteElementCollection *fec, int vdim=1, int ordering=Ordering::byNODES) | |
Construct a NURBS FE space based on the given NURBSExtension, ext. | |
FiniteElementSpace & | operator= (const FiniteElementSpace &)=delete |
Copy assignment not supported. | |
Mesh * | GetMesh () const |
Returns the mesh. | |
const NURBSExtension * | GetNURBSext () const |
NURBSExtension * | GetNURBSext () |
NURBSExtension * | StealNURBSext () |
bool | Conforming () const |
bool | Nonconforming () const |
void | SetElementOrder (int i, int p) |
Sets the order of the i'th finite element. | |
int | GetElementOrder (int i) const |
Returns the order of the i'th finite element. | |
int | GetMaxElementOrder () const |
Return the maximum polynomial order. | |
bool | IsVariableOrder () const |
Returns true if the space contains elements of varying polynomial orders. | |
const SparseMatrix * | GetConformingProlongation () const |
The returned SparseMatrix is owned by the FiniteElementSpace. | |
const SparseMatrix * | GetConformingRestriction () const |
The returned SparseMatrix is owned by the FiniteElementSpace. | |
const SparseMatrix * | GetHpConformingRestriction () const |
The returned SparseMatrix is owned by the FiniteElementSpace. | |
const Operator * | GetRestrictionTransposeOperator () const |
Return an operator that performs the transpose of GetRestrictionOperator. | |
virtual const Operator * | GetRestrictionOperator () const |
An abstract operator that performs the same action as GetRestrictionMatrix. | |
virtual const SparseMatrix * | GetHpRestrictionMatrix () const |
The returned SparseMatrix is owned by the FiniteElementSpace. | |
const ElementRestrictionOperator * | GetElementRestriction (ElementDofOrdering e_ordering) const |
Return an Operator that converts L-vectors to E-vectors. | |
virtual const FaceRestriction * | GetFaceRestriction (ElementDofOrdering f_ordering, FaceType, L2FaceValues mul=L2FaceValues::DoubleValued) const |
Return an Operator that converts L-vectors to E-vectors on each face. | |
const QuadratureInterpolator * | GetQuadratureInterpolator (const IntegrationRule &ir) const |
Return a QuadratureInterpolator that interpolates E-vectors to quadrature point values and/or derivatives (Q-vectors). | |
const QuadratureInterpolator * | GetQuadratureInterpolator (const QuadratureSpace &qs) const |
Return a QuadratureInterpolator that interpolates E-vectors to quadrature point values and/or derivatives (Q-vectors). | |
const FaceQuadratureInterpolator * | GetFaceQuadratureInterpolator (const IntegrationRule &ir, FaceType type) const |
Return a FaceQuadratureInterpolator that interpolates E-vectors to quadrature point values and/or derivatives (Q-vectors). | |
int | GetOrder (int i) const |
Returns the polynomial degree of the i'th finite element. | |
int | GetEdgeOrder (int edge, int variant=0) const |
int | GetFaceOrder (int face, int variant=0) const |
Returns the polynomial degree of the i'th face finite element. | |
int | GetVDim () const |
Returns vector dimension. | |
int | GetNDofs () const |
Returns number of degrees of freedom. This is the number of Local Degrees of Freedom. | |
int | GetVSize () const |
Return the number of vector dofs, i.e. GetNDofs() x GetVDim(). | |
virtual int | GetTrueVSize () const |
Return the number of vector true (conforming) dofs. | |
int | GetNConformingDofs () const |
int | GetConformingVSize () const |
Ordering::Type | GetOrdering () const |
Return the ordering method. | |
const FiniteElementCollection * | FEColl () const |
int | GetNVDofs () const |
Number of all scalar vertex dofs. | |
int | GetNEDofs () const |
Number of all scalar edge-interior dofs. | |
int | GetNFDofs () const |
Number of all scalar face-interior dofs. | |
int | GetNV () const |
Returns number of vertices in the mesh. | |
int | GetNE () const |
Returns number of elements in the mesh. | |
int | GetNF () const |
Returns number of faces (i.e. co-dimension 1 entities) in the mesh. | |
int | GetNBE () const |
Returns number of boundary elements in the mesh. | |
int | GetNFbyType (FaceType type) const |
Returns the number of faces according to the requested type. | |
int | GetElementType (int i) const |
Returns the type of element i. | |
void | GetElementVertices (int i, Array< int > &vertices) const |
Returns the vertices of element i. | |
int | GetBdrElementType (int i) const |
Returns the type of boundary element i. | |
ElementTransformation * | GetElementTransformation (int i) const |
Returns ElementTransformation for the i-th element. | |
void | GetElementTransformation (int i, IsoparametricTransformation *ElTr) |
Returns the transformation defining the i-th element in the user-defined variable ElTr. | |
ElementTransformation * | GetBdrElementTransformation (int i) const |
Returns ElementTransformation for the i-th boundary element. | |
int | GetAttribute (int i) const |
int | GetBdrAttribute (int i) const |
void | GetPatchDofs (int patch, Array< int > &dofs) const |
Returns indices of degrees of freedom for NURBS patch index patch. Cartesian ordering is used, for the tensor-product degrees of freedom. | |
MFEM_DEPRECATED void | RebuildElementToDofTable () |
( | |
void | ReorderElementToDofTable () |
Reorder the scalar DOFs based on the element ordering. | |
const Table * | GetElementToFaceOrientationTable () const |
const Table & | GetElementToDofTable () const |
Return a reference to the internal Table that stores the lists of scalar dofs, for each mesh element, as returned by GetElementDofs(). | |
const Table & | GetBdrElementToDofTable () const |
Return a reference to the internal Table that stores the lists of scalar dofs, for each boundary mesh element, as returned by GetBdrElementDofs(). | |
const Table & | GetFaceToDofTable () const |
Return a reference to the internal Table that stores the lists of scalar dofs, for each face in the mesh, as returned by GetFaceDofs(). In this context, "face" refers to a (dim-1)-dimensional mesh entity. | |
void | BuildDofToArrays () |
Initialize internal data that enables the use of the methods GetElementForDof() and GetLocalDofForDof(). | |
int | GetElementForDof (int i) const |
Return the index of the first element that contains dof i. | |
int | GetLocalDofForDof (int i) const |
Return the local dof index in the first element that contains dof i. | |
virtual const FiniteElement * | GetFE (int i) const |
Returns pointer to the FiniteElement in the FiniteElementCollection associated with i'th element in the mesh object. Note: The method has been updated to abort instead of returning NULL for an empty partition. | |
const FiniteElement * | GetBE (int i) const |
Returns pointer to the FiniteElement in the FiniteElementCollection associated with i'th boundary face in the mesh object. | |
const FiniteElement * | GetFaceElement (int i) const |
Returns pointer to the FiniteElement in the FiniteElementCollection associated with i'th face in the mesh object. Faces in this case refer to the MESHDIM-1 primitive so in 2D they are segments and in 1D they are points. | |
const FiniteElement * | GetEdgeElement (int i, int variant=0) const |
Returns pointer to the FiniteElement in the FiniteElementCollection associated with i'th edge in the mesh object. | |
const FiniteElement * | GetTraceElement (int i, Geometry::Type geom_type) const |
Return the trace element from element 'i' to the given 'geom_type'. | |
virtual void | GetEssentialVDofs (const Array< int > &bdr_attr_is_ess, Array< int > &ess_vdofs, int component=-1) const |
Mark degrees of freedom associated with boundary elements with the specified boundary attributes (marked in 'bdr_attr_is_ess'). For spaces with 'vdim' > 1, the 'component' parameter can be used to restricts the marked vDOFs to the specified component. | |
virtual void | GetEssentialTrueDofs (const Array< int > &bdr_attr_is_ess, Array< int > &ess_tdof_list, int component=-1) const |
Get a list of essential true dofs, ess_tdof_list, corresponding to the boundary attributes marked in the array bdr_attr_is_ess. For spaces with 'vdim' > 1, the 'component' parameter can be used to restricts the marked tDOFs to the specified component. | |
void | GetBoundaryTrueDofs (Array< int > &boundary_dofs, int component=-1) |
Get a list of all boundary true dofs, boundary_dofs. For spaces with 'vdim' > 1, the 'component' parameter can be used to restricts the marked tDOFs to the specified component. Equivalent to FiniteElementSpace::GetEssentialTrueDofs with all boundary attributes marked as essential. | |
void | ConvertToConformingVDofs (const Array< int > &dofs, Array< int > &cdofs) |
For a partially conforming FE space, convert a marker array (nonzero entries are true) on the partially conforming dofs to a marker array on the conforming dofs. A conforming dofs is marked iff at least one of its dependent dofs is marked. | |
void | ConvertFromConformingVDofs (const Array< int > &cdofs, Array< int > &dofs) |
For a partially conforming FE space, convert a marker array (nonzero entries are true) on the conforming dofs to a marker array on the (partially conforming) dofs. A dof is marked iff it depends on a marked conforming dofs, where dependency is defined by the ConformingRestriction matrix; in other words, a dof is marked iff it corresponds to a marked conforming dof. | |
SparseMatrix * | D2C_GlobalRestrictionMatrix (FiniteElementSpace *cfes) |
Generate the global restriction matrix from a discontinuous FE space to the continuous FE space of the same polynomial degree. | |
SparseMatrix * | D2Const_GlobalRestrictionMatrix (FiniteElementSpace *cfes) |
Generate the global restriction matrix from a discontinuous FE space to the piecewise constant FE space. | |
SparseMatrix * | H2L_GlobalRestrictionMatrix (FiniteElementSpace *lfes) |
Construct the restriction matrix from the FE space given by (*this) to the lower degree FE space given by (*lfes) which is defined on the same mesh. | |
void | GetTransferOperator (const FiniteElementSpace &coarse_fes, OperatorHandle &T) const |
Construct and return an Operator that can be used to transfer GridFunction data from coarse_fes, defined on a coarse mesh, to this FE space, defined on a refined mesh. | |
virtual void | GetTrueTransferOperator (const FiniteElementSpace &coarse_fes, OperatorHandle &T) const |
Construct and return an Operator that can be used to transfer true-dof data from coarse_fes, defined on a coarse mesh, to this FE space, defined on a refined mesh. | |
virtual void | Update (bool want_transform=true) |
Reflect changes in the mesh: update number of DOFs, etc. Also, calculate GridFunction transformation operator (unless want_transform is false). Safe to call multiple times, does nothing if space already up to date. | |
const Operator * | GetUpdateOperator () |
Get the GridFunction update operator. | |
void | GetUpdateOperator (OperatorHandle &T) |
Return the update operator in the given OperatorHandle, T. | |
void | SetUpdateOperatorOwner (bool own) |
Set the ownership of the update operator: if set to false, the Operator returned by GetUpdateOperator() must be deleted outside the FiniteElementSpace. | |
void | SetUpdateOperatorType (Operator::Type tid) |
Specify the Operator::Type to be used by the update operators. | |
virtual void | UpdatesFinished () |
Free the GridFunction update operator (if any), to save memory. | |
long | GetSequence () const |
bool | IsDGSpace () const |
Return whether or not the space is discontinuous (L2) | |
void | SetRelaxedHpConformity (bool relaxed=true) |
void | Save (std::ostream &out) const |
Save finite element space to output stream out. | |
FiniteElementCollection * | Load (Mesh *m, std::istream &input) |
Read a FiniteElementSpace from a stream. The returned FiniteElementCollection is owned by the caller. | |
virtual | ~FiniteElementSpace () |
DofTransformation * | GetElementDofs (int elem, Array< int > &dofs) const |
Returns indices of degrees of freedom of element 'elem'. The returned indices are offsets into an ldof vector. See also GetElementVDofs(). | |
virtual void | GetElementDofs (int elem, Array< int > &dofs, DofTransformation &doftrans) const |
The same as GetElementDofs(), but with a user-allocated DofTransformation object. doftrans must be allocated in advance and will be owned by the caller. The user can use the DofTransformation::GetDofTransformation method on the returned doftrans object to detect if the DofTransformation should actually be used. | |
DofTransformation * | GetBdrElementDofs (int bel, Array< int > &dofs) const |
Returns indices of degrees of freedom for boundary element 'bel'. The returned indices are offsets into an ldof vector. See also GetBdrElementVDofs(). | |
virtual void | GetBdrElementDofs (int bel, Array< int > &dofs, DofTransformation &doftrans) const |
The same as GetBdrElementDofs(), but with a user-allocated DofTransformation object. doftrans must be allocated in advance and will be owned by the caller. The user can use the DofTransformation::GetDofTransformation method on the returned doftrans object to detect if the DofTransformation should actually be used. | |
virtual int | GetFaceDofs (int face, Array< int > &dofs, int variant=0) const |
Returns the indices of the degrees of freedom for the specified face, including the DOFs for the edges and the vertices of the face. | |
int | GetEdgeDofs (int edge, Array< int > &dofs, int variant=0) const |
Returns the indices of the degrees of freedom for the specified edge, including the DOFs for the vertices of the edge. | |
void | GetVertexDofs (int i, Array< int > &dofs) const |
Returns the indices of the degrees of freedom for the specified vertices. | |
void | GetElementInteriorDofs (int i, Array< int > &dofs) const |
Returns the indices of the degrees of freedom for the interior of the specified element. | |
int | GetNumElementInteriorDofs (int i) const |
Returns the number of degrees of freedom associated with the interior of the specified element. | |
void | GetFaceInteriorDofs (int i, Array< int > &dofs) const |
Returns the indices of the degrees of freedom for the interior of the specified face. | |
void | GetEdgeInteriorDofs (int i, Array< int > &dofs) const |
Returns the indices of the degrees of freedom for the interior of the specified edge. | |
void | GetVDofs (int vd, Array< int > &dofs, int ndofs=-1) const |
Returns the indices of all of the VDofs for the specified dimension 'vd'. | |
void | DofsToVDofs (Array< int > &dofs, int ndofs=-1) const |
Compute the full set of vdofs corresponding to each entry in dofs. | |
void | DofsToVDofs (int vd, Array< int > &dofs, int ndofs=-1) const |
Compute the set of vdofs corresponding to each entry in dofs for the given vector index vd. | |
int | DofToVDof (int dof, int vd, int ndofs=-1) const |
Compute a single vdof corresponding to the index dof and the vector index vd. | |
int | VDofToDof (int vdof) const |
Compute the inverse of the Dof to VDof mapping for a single index vdof. | |
DofTransformation * | GetElementVDofs (int i, Array< int > &vdofs) const |
Returns indices of degrees of freedom for the i'th element. The returned indices are offsets into an ldof vector with vdim not necessarily equal to 1. The returned indices are always ordered byNODES, irrespective of whether the space is byNODES or byVDIM. See also GetElementDofs(). | |
void | GetElementVDofs (int i, Array< int > &vdofs, DofTransformation &doftrans) const |
The same as GetElementVDofs(), but with a user-allocated DofTransformation object. doftrans must be allocated in advance and will be owned by the caller. The user can use the DofTransformation::GetDofTransformation method on the returned doftrans object to detect if the DofTransformation should actually be used. | |
DofTransformation * | GetBdrElementVDofs (int i, Array< int > &vdofs) const |
Returns indices of degrees of freedom for i'th boundary element. The returned indices are offsets into an ldof vector with vdim not necessarily equal to 1. See also GetBdrElementDofs(). | |
void | GetBdrElementVDofs (int i, Array< int > &vdofs, DofTransformation &doftrans) const |
The same as GetBdrElementVDofs(), but with a user-allocated DofTransformation object. doftrans must be allocated in advance and will be owned by the caller. The user can use the DofTransformation::GetDofTransformation method on the returned doftrans object to detect if the DofTransformation should actually be used. | |
void | GetPatchVDofs (int i, Array< int > &vdofs) const |
Returns indices of degrees of freedom in vdofs for NURBS patch i. | |
void | GetFaceVDofs (int i, Array< int > &vdofs) const |
Returns the indices of the degrees of freedom for the specified face, including the DOFs for the edges and the vertices of the face. | |
void | GetEdgeVDofs (int i, Array< int > &vdofs) const |
Returns the indices of the degrees of freedom for the specified edge, including the DOFs for the vertices of the edge. | |
void | GetVertexVDofs (int i, Array< int > &vdofs) const |
Returns the indices of the degrees of freedom for the specified vertices. | |
void | GetElementInteriorVDofs (int i, Array< int > &vdofs) const |
Returns the indices of the degrees of freedom for the interior of the specified element. | |
void | GetEdgeInteriorVDofs (int i, Array< int > &vdofs) const |
Returns the indices of the degrees of freedom for the interior of the specified edge. | |
Additional Inherited Members | |
Static Public Member Functions inherited from mfem::FiniteElementSpace | |
static void | AdjustVDofs (Array< int > &vdofs) |
Remove the orientation information encoded into an array of dofs Some basis function types have a relative orientation associated with degrees of freedom shared between neighboring elements, see ldof for more information. An orientation mismatch is indicated in the dof indices by a negative index value. This method replaces such negative indices with the corresponding positive offsets. | |
static int | EncodeDof (int entity_base, int idx) |
Helper to encode a sign flip into a DOF index (for Hcurl/Hdiv shapes). | |
static int | DecodeDof (int dof) |
Helper to return the DOF associated with a sign encoded DOF. | |
static int | DecodeDof (int dof, real_t &sign) |
Helper to determine the DOF and sign of a sign encoded DOF. | |
static void | MarkerToList (const Array< int > &marker, Array< int > &list) |
Convert a Boolean marker array to a list containing all marked indices. | |
static void | ListToMarker (const Array< int > &list, int marker_size, Array< int > &marker, int mark_val=-1) |
Convert an array of indices (list) to a Boolean marker array where all indices in the list are marked with the given value and the rest are set to zero. | |
Protected Types inherited from mfem::FiniteElementSpace | |
using | key_face = std::tuple<bool, ElementDofOrdering, FaceType, L2FaceValues> |
The face restriction operators, see GetFaceRestriction(). | |
using | map_L2F = std::unordered_map<const key_face,FaceRestriction*,key_hash> |
typedef std::uint64_t | VarOrderBits |
Bit-mask representing a set of orders needed by an edge/face. | |
Protected Member Functions inherited from mfem::FiniteElementSpace | |
void | UpdateNURBS () |
void | Construct () |
void | Destroy () |
void | ConstructDoFTransArray () |
void | DestroyDoFTransArray () |
void | BuildElementToDofTable () const |
void | BuildBdrElementToDofTable () const |
void | BuildFaceToDofTable () const |
void | BuildNURBSFaceToDofTable () const |
Generates partial face_dof table for a NURBS space. | |
int | GetElementOrderImpl (int i) const |
Return element order: internal version of GetElementOrder without checks. | |
void | CalcEdgeFaceVarOrders (Array< VarOrderBits > &edge_orders, Array< VarOrderBits > &face_orders) const |
int | MakeDofTable (int ent_dim, const Array< int > &entity_orders, Table &entity_dofs, Array< char > *var_ent_order) |
int | FindDofs (const Table &var_dof_table, int row, int ndof) const |
Search row of a DOF table for a DOF set of size 'ndof', return first DOF. | |
int | FindEdgeDof (int edge, int ndof) const |
int | FindFaceDof (int face, int ndof) const |
Similar to FindEdgeDof, but used for mixed meshes too. | |
int | FirstFaceDof (int face, int variant=0) const |
int | GetNVariants (int entity, int index) const |
Return number of possible DOF variants for edge/face (var. order spaces). | |
int | GetEntityDofs (int entity, int index, Array< int > &dofs, Geometry::Type master_geom=Geometry::INVALID, int variant=0) const |
Helper to get vertex, edge or face DOFs (entity=0,1,2 resp.). | |
int | GetEntityVDofs (int entity, int index, Array< int > &dofs, Geometry::Type master_geom=Geometry::INVALID, int variant=0) const |
Helper to get vertex, edge or face VDOFs (entity=0,1,2 resp.). | |
int | GetDegenerateFaceDofs (int index, Array< int > &dofs, Geometry::Type master_geom, int variant) const |
int | GetNumBorderDofs (Geometry::Type geom, int order) const |
void | BuildConformingInterpolation () const |
Calculate the cP and cR matrices for a nonconforming mesh. | |
void | AddEdgeFaceDependencies (SparseMatrix &deps, Array< int > &master_dofs, const FiniteElement *master_fe, Array< int > &slave_dofs, int slave_face, const DenseMatrix *pm) const |
void | MakeVDimMatrix (SparseMatrix &mat) const |
Replicate 'mat' in the vector dimension, according to vdim ordering mode. | |
SparseMatrix * | RefinementMatrix_main (const int coarse_ndofs, const Table &coarse_elem_dof, const Table *coarse_elem_fos, const DenseTensor localP[]) const |
void | GetLocalRefinementMatrices (Geometry::Type geom, DenseTensor &localP) const |
void | GetLocalDerefinementMatrices (Geometry::Type geom, DenseTensor &localR) const |
SparseMatrix * | RefinementMatrix (int old_ndofs, const Table *old_elem_dof, const Table *old_elem_fos) |
SparseMatrix * | DerefinementMatrix (int old_ndofs, const Table *old_elem_dof, const Table *old_elem_fos) |
Calculate GridFunction restriction matrix after mesh derefinement. | |
void | GetLocalRefinementMatrices (const FiniteElementSpace &coarse_fes, Geometry::Type geom, DenseTensor &localP) const |
Return in localP the local refinement matrices that map between fespaces after mesh refinement. | |
void | Constructor (Mesh *mesh, NURBSExtension *ext, const FiniteElementCollection *fec, int vdim=1, int ordering=Ordering::byNODES) |
Help function for constructors + Load(). | |
virtual void | UpdateMeshPointer (Mesh *new_mesh) |
void | UpdateElementOrders () |
Resize the elem_order array on mesh change. | |
virtual void | CopyProlongationAndRestriction (const FiniteElementSpace &fes, const Array< int > *perm) |
Copies the prolongation and restriction matrices from fes. | |
Static Protected Member Functions inherited from mfem::FiniteElementSpace | |
static int | MinOrder (VarOrderBits bits) |
Return the minimum order (least significant bit set) in the bit mask. | |
static void | AddDependencies (SparseMatrix &deps, Array< int > &master_dofs, Array< int > &slave_dofs, DenseMatrix &I, int skipfirst=0) |
static bool | DofFinalizable (int dof, const Array< bool > &finalized, const SparseMatrix &deps) |
Protected Attributes inherited from mfem::ceed::AlgebraicCoarseSpace | |
int * | dof_map |
int | order_reduction |
CeedElemRestriction | ceed_elem_restriction |
CeedBasis | coarse_to_fine |
Protected Attributes inherited from mfem::FiniteElementSpace | |
Mesh * | mesh |
The mesh that FE space lives on (not owned). | |
const FiniteElementCollection * | fec |
Associated FE collection (not owned). | |
int | vdim |
Vector dimension (number of unknowns per degree of freedom). | |
Ordering::Type | ordering |
int | ndofs |
Number of degrees of freedom. Number of unknowns is ndofs * vdim. | |
Array< char > | elem_order |
int | nvdofs |
int | nedofs |
int | nfdofs |
int | nbdofs |
int | uni_fdof |
int * | bdofs |
internal DOFs of elements if mixed/var-order; NULL otherwise | |
Table | var_edge_dofs |
Table | var_face_dofs |
NOTE: also used for spaces with mixed faces. | |
Array< char > | var_edge_orders |
Array< char > | var_face_orders |
Table * | elem_dof |
Table * | elem_fos |
Table * | bdr_elem_dof |
Table * | bdr_elem_fos |
Table * | face_dof |
Array< int > | dof_elem_array |
Array< int > | dof_ldof_array |
NURBSExtension * | NURBSext |
int | own_ext |
Array< int > | face_to_be |
Array< StatelessDofTransformation * > | DoFTransArray |
DofTransformation | DoFTrans |
std::unique_ptr< SparseMatrix > | cP |
std::unique_ptr< SparseMatrix > | cR |
Conforming restriction matrix such that cR.cP=I. | |
std::unique_ptr< SparseMatrix > | cR_hp |
A version of the conforming restriction matrix for variable-order spaces. | |
bool | cP_is_set |
std::unique_ptr< Operator > | R_transpose |
Operator computing the action of the transpose of the restriction. | |
OperatorHandle | Th |
Transformation to apply to GridFunctions after space Update(). | |
OperatorHandle | L2E_nat |
The element restriction operators, see GetElementRestriction(). | |
OperatorHandle | L2E_lex |
map_L2F | L2F |
Array< QuadratureInterpolator * > | E2Q_array |
Array< FaceQuadratureInterpolator * > | E2IFQ_array |
Array< FaceQuadratureInterpolator * > | E2BFQ_array |
long | sequence |
long | mesh_sequence |
bool | orders_changed |
True if at least one element order changed (variable-order space only). | |
bool | relaxed_hp |
Static Protected Attributes inherited from mfem::FiniteElementSpace | |
static constexpr int | MaxVarOrder = 8*sizeof(VarOrderBits) - 1 |
Parallel version of AlgebraicCoarseSpace.
This provides prolongation and restriction matrices for RAP-type parallel operators and potential explicit assembly.
Definition at line 56 of file algebraic.hpp.
mfem::ceed::ParAlgebraicCoarseSpace::ParAlgebraicCoarseSpace | ( | FiniteElementSpace & | fine_fes, |
CeedElemRestriction | fine_er, | ||
int | order, | ||
int | dim, | ||
int | order_reduction_, | ||
GroupCommunicator * | gc_fine ) |
Definition at line 736 of file algebraic.cpp.
mfem::ceed::ParAlgebraicCoarseSpace::~ParAlgebraicCoarseSpace | ( | ) |
Definition at line 938 of file algebraic.cpp.
|
inline |
Definition at line 69 of file algebraic.hpp.
HypreParMatrix * mfem::ceed::ParAlgebraicCoarseSpace::GetProlongationHypreParMatrix | ( | ) |
Definition at line 824 of file algebraic.cpp.
|
inlineoverridevirtual |
The returned Operator is owned by the FiniteElementSpace.
Reimplemented from mfem::ceed::AlgebraicCoarseSpace.
Definition at line 67 of file algebraic.hpp.
|
inlineoverridevirtual |
The returned SparseMatrix is owned by the FiniteElementSpace.
Reimplemented from mfem::ceed::AlgebraicCoarseSpace.
Definition at line 68 of file algebraic.hpp.