MFEM  v4.2.0
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Types | Public Member Functions | List of all members
mfem::NURBSFECollection Class Reference

Arbitrary order non-uniform rational B-splines (NURBS) finite elements. More...

#include <fe_coll.hpp>

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

Public Types

enum  { VariableOrder = -1 }
 
- Public Types inherited from mfem::FiniteElementCollection
enum  { CONTINUOUS, TANGENTIAL, NORMAL, DISCONTINUOUS }
 Enumeration for ContType: defines the continuity of the field across element interfaces. More...
 

Public Member Functions

 NURBSFECollection (int Order=VariableOrder)
 The parameter Order must be either a positive number, for fixed order, or VariableOrder (default). More...
 
void Reset () const
 
int GetOrder () const
 Get the order of the NURBS collection: either a positive number, when using fixed order, or VariableOrder. More...
 
void SetOrder (int Order) const
 Set the order and the name, based on the given Order: either a positive number for fixed order, or VariableOrder. More...
 
virtual const FiniteElementFiniteElementForGeometry (Geometry::Type GeomType) const
 
virtual int DofForGeometry (Geometry::Type GeomType) const
 
virtual const int * DofOrderForOrientation (Geometry::Type GeomType, int Or) const
 Returns an array, say p, that maps a local permuted index i to a local base index: base_i = p[i]. More...
 
virtual const char * Name () const
 
virtual int GetContType () const
 
FiniteElementCollectionGetTraceCollection () const
 
virtual ~NURBSFECollection ()
 
- Public Member Functions inherited from mfem::FiniteElementCollection
int HasFaceDofs (Geometry::Type GeomType) const
 
virtual const FiniteElementTraceFiniteElementForGeometry (Geometry::Type GeomType) const
 
virtual ~FiniteElementCollection ()
 
void SubDofOrder (Geometry::Type Geom, int SDim, int Info, Array< int > &dofs) const
 Get the local dofs for a given sub-manifold. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from mfem::FiniteElementCollection
static FiniteElementCollectionNew (const char *name)
 Factory method: return a newly allocated FiniteElementCollection according to the given name. More...
 
- Static Protected Member Functions inherited from mfem::FiniteElementCollection
template<Geometry::Type geom>
static void GetNVE (int &nv, int &ne)
 
template<Geometry::Type geom, typename v_t >
static void GetEdge (int &nv, v_t &v, int &ne, int &e, int &eo, const int edge_info)
 
template<Geometry::Type geom, Geometry::Type f_geom, typename v_t , typename e_t , typename eo_t >
static void GetFace (int &nv, v_t &v, int &ne, e_t &e, eo_t &eo, int &nf, int &f, Geometry::Type &fg, int &fo, const int face_info)
 

Detailed Description

Arbitrary order non-uniform rational B-splines (NURBS) finite elements.

Definition at line 372 of file fe_coll.hpp.

Member Enumeration Documentation

anonymous enum
Enumerator
VariableOrder 

Definition at line 388 of file fe_coll.hpp.

Constructor & Destructor Documentation

mfem::NURBSFECollection::NURBSFECollection ( int  Order = VariableOrder)
explicit

The parameter Order must be either a positive number, for fixed order, or VariableOrder (default).

Definition at line 2754 of file fe_coll.cpp.

mfem::NURBSFECollection::~NURBSFECollection ( )
virtual

Definition at line 2777 of file fe_coll.cpp.

Member Function Documentation

int mfem::NURBSFECollection::DofForGeometry ( Geometry::Type  GeomType) const
virtual

Implements mfem::FiniteElementCollection.

Definition at line 2798 of file fe_coll.cpp.

const int * mfem::NURBSFECollection::DofOrderForOrientation ( Geometry::Type  GeomType,
int  Or 
) const
virtual

Returns an array, say p, that maps a local permuted index i to a local base index: base_i = p[i].

Implements mfem::FiniteElementCollection.

Definition at line 2804 of file fe_coll.cpp.

const FiniteElement * mfem::NURBSFECollection::FiniteElementForGeometry ( Geometry::Type  GeomType) const
virtual

Implements mfem::FiniteElementCollection.

Definition at line 2785 of file fe_coll.cpp.

virtual int mfem::NURBSFECollection::GetContType ( ) const
inlinevirtual

Implements mfem::FiniteElementCollection.

Definition at line 419 of file fe_coll.hpp.

int mfem::NURBSFECollection::GetOrder ( ) const
inline

Get the order of the NURBS collection: either a positive number, when using fixed order, or VariableOrder.

Definition at line 403 of file fe_coll.hpp.

FiniteElementCollection * mfem::NURBSFECollection::GetTraceCollection ( ) const
virtual

Reimplemented from mfem::FiniteElementCollection.

Definition at line 2811 of file fe_coll.cpp.

virtual const char* mfem::NURBSFECollection::Name ( ) const
inlinevirtual

Reimplemented from mfem::FiniteElementCollection.

Definition at line 417 of file fe_coll.hpp.

void mfem::NURBSFECollection::Reset ( ) const
inline

Definition at line 394 of file fe_coll.hpp.

void mfem::NURBSFECollection::SetOrder ( int  Order) const

Set the order and the name, based on the given Order: either a positive number for fixed order, or VariableOrder.

Definition at line 2764 of file fe_coll.cpp.


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