MFEM  v3.4
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Public Attributes | List of all members
mfem::ParNURBSExtension Class Reference

#include <nurbs.hpp>

Inheritance diagram for mfem::ParNURBSExtension:
[legend]
Collaboration diagram for mfem::ParNURBSExtension:
[legend]

Public Member Functions

 ParNURBSExtension (const ParNURBSExtension &orig)
 
 ParNURBSExtension (MPI_Comm comm, NURBSExtension *parent, int *partitioning, const Array< bool > &active_bel)
 
 ParNURBSExtension (NURBSExtension *parent, const ParNURBSExtension *par_parent)
 
virtual ~ParNURBSExtension ()
 
- Public Member Functions inherited from mfem::NURBSExtension
 NURBSExtension (const NURBSExtension &orig)
 Copy constructor: deep copy. More...
 
 NURBSExtension (std::istream &input)
 Read-in a NURBSExtension. More...
 
 NURBSExtension (NURBSExtension *parent, int newOrder)
 Create a NURBSExtension with elevated order by repeating the endpoints of the knot vectors and using uniform weights of 1. More...
 
 NURBSExtension (NURBSExtension *parent, const Array< int > &newOrders)
 Create a NURBSExtension with elevated knot vector orders (by repeating the endpoints of the knot vectors and using uniform weights of 1) as given by the array newOrders. More...
 
 NURBSExtension (Mesh *mesh_array[], int num_pieces)
 Construct a NURBSExtension by merging a partitioned NURBS mesh. More...
 
void MergeGridFunctions (GridFunction *gf_array[], int num_pieces, GridFunction &merged)
 
virtual ~NURBSExtension ()
 Destroy a NURBSExtension. More...
 
void Print (std::ostream &out) const
 
void PrintCharacteristics (std::ostream &out) const
 
int Dimension () const
 
int GetNP () const
 
int GetNBP () const
 
const Array< int > & GetOrders () const
 Read-only access to the orders of all knot vectors. More...
 
int GetOrder () const
 If all orders are identical, return that number. Otherwise, return NURBSFECollection::VariableOrder. More...
 
int GetNKV () const
 
int GetGNV () const
 
int GetNV () const
 
int GetGNE () const
 
int GetNE () const
 
int GetGNBE () const
 
int GetNBE () const
 
int GetNTotalDof () const
 
int GetNDof () const
 
const KnotVectorGetKnotVector (int i) const
 
void GetElementTopo (Array< Element * > &elements) const
 
void GetBdrElementTopo (Array< Element * > &boundary) const
 
bool HavePatches () const
 
TableGetElementDofTable ()
 
TableGetBdrElementDofTable ()
 
void GetVertexLocalToGlobal (Array< int > &lvert_vert)
 
void GetElementLocalToGlobal (Array< int > &lelem_elem)
 
void LoadFE (int i, const FiniteElement *FE) const
 
void LoadBE (int i, const FiniteElement *BE) const
 
const VectorGetWeights () const
 
VectorGetWeights ()
 
void ConvertToPatches (const Vector &Nodes)
 
void SetKnotsFromPatches ()
 
void SetCoordsFromPatches (Vector &Nodes)
 
void LoadSolution (std::istream &input, GridFunction &sol) const
 
void PrintSolution (const GridFunction &sol, std::ostream &out) const
 
void DegreeElevate (int rel_degree, int degree=16)
 
void UniformRefinement ()
 
void KnotInsert (Array< KnotVector * > &kv)
 

Public Attributes

GroupTopology gtopo
 
Array< int > ldof_group
 

Additional Inherited Members

- Protected Member Functions inherited from mfem::NURBSExtension
int KnotInd (int edge) const
 
KnotVectorKnotVec (int edge)
 
const KnotVectorKnotVec (int edge) const
 
const KnotVectorKnotVec (int edge, int oedge, int *okv) const
 
void CheckPatches ()
 
void CheckBdrPatches ()
 
void GetPatchKnotVectors (int p, Array< KnotVector * > &kv)
 
void GetPatchKnotVectors (int p, Array< const KnotVector * > &kv) const
 
void GetBdrPatchKnotVectors (int p, Array< KnotVector * > &kv)
 
void GetBdrPatchKnotVectors (int p, Array< const KnotVector * > &kv) const
 
void SetOrderFromOrders ()
 
void SetOrdersFromKnotVectors ()
 
void GenerateOffsets ()
 
void CountElements ()
 
void CountBdrElements ()
 
void Get2DElementTopo (Array< Element * > &elements) const
 
void Get3DElementTopo (Array< Element * > &elements) const
 
void Get2DBdrElementTopo (Array< Element * > &boundary) const
 
void Get3DBdrElementTopo (Array< Element * > &boundary) const
 
void GenerateElementDofTable ()
 
void Generate2DElementDofTable ()
 
void Generate3DElementDofTable ()
 
void GenerateBdrElementDofTable ()
 
void Generate2DBdrElementDofTable ()
 
void Generate3DBdrElementDofTable ()
 
void GetPatchNets (const Vector &Nodes, int vdim)
 
void Get2DPatchNets (const Vector &Nodes, int vdim)
 
void Get3DPatchNets (const Vector &Nodes, int vdim)
 
void SetSolutionVector (Vector &Nodes, int vdim)
 
void Set2DSolutionVector (Vector &Nodes, int vdim)
 
void Set3DSolutionVector (Vector &Nodes, int vdim)
 
void GenerateActiveVertices ()
 
void GenerateActiveBdrElems ()
 
void MergeWeights (Mesh *mesh_array[], int num_pieces)
 
 NURBSExtension ()
 
- Protected Attributes inherited from mfem::NURBSExtension
int mOrder
 
Array< int > mOrders
 
int NumOfKnotVectors
 
int NumOfVertices
 
int NumOfElements
 
int NumOfBdrElements
 
int NumOfDofs
 
int NumOfActiveVertices
 
int NumOfActiveElems
 
int NumOfActiveBdrElems
 
int NumOfActiveDofs
 
Array< int > activeVert
 
Array< bool > activeElem
 
Array< bool > activeBdrElem
 
Array< int > activeDof
 
MeshpatchTopo
 
int own_topo
 
Array< int > edge_to_knot
 
Array< KnotVector * > knotVectors
 
Vector weights
 
Array< int > v_meshOffsets
 
Array< int > e_meshOffsets
 
Array< int > f_meshOffsets
 
Array< int > p_meshOffsets
 
Array< int > v_spaceOffsets
 
Array< int > e_spaceOffsets
 
Array< int > f_spaceOffsets
 
Array< int > p_spaceOffsets
 
Tableel_dof
 
Tablebel_dof
 
Array< int > el_to_patch
 
Array< int > bel_to_patch
 
Array2D< int > el_to_IJK
 
Array2D< int > bel_to_IJK
 
Array< NURBSPatch * > patches
 

Detailed Description

Definition at line 373 of file nurbs.hpp.

Constructor & Destructor Documentation

mfem::ParNURBSExtension::ParNURBSExtension ( const ParNURBSExtension orig)

Definition at line 2873 of file nurbs.cpp.

mfem::ParNURBSExtension::ParNURBSExtension ( MPI_Comm  comm,
NURBSExtension parent,
int *  partitioning,
const Array< bool > &  active_bel 
)

Definition at line 2886 of file nurbs.cpp.

mfem::ParNURBSExtension::ParNURBSExtension ( NURBSExtension parent,
const ParNURBSExtension par_parent 
)

Definition at line 2958 of file nurbs.cpp.

virtual mfem::ParNURBSExtension::~ParNURBSExtension ( )
inlinevirtual

Definition at line 401 of file nurbs.hpp.

Member Data Documentation

GroupTopology mfem::ParNURBSExtension::gtopo

Definition at line 386 of file nurbs.hpp.

Array<int> mfem::ParNURBSExtension::ldof_group

Definition at line 388 of file nurbs.hpp.


The documentation for this class was generated from the following files: