MFEM v4.8.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::NURBSPatchMap Class Reference

Mapping for mesh vertices and NURBS space DOFs. More...

#include <nurbs.hpp>

Public Member Functions

 NURBSPatchMap (const NURBSExtension *ext)
 Constructor for an object associated with NURBSExtension ext.
 
int nx () const
 Return the number of elements in the first direction.
 
int ny () const
 Return the number of elements in the second direction (2D or 3D).
 
int nz () const
 Return the number of elements in the third direction (3D).
 
void SetPatchVertexMap (int p, const KnotVector *kv[])
 Set mesh vertex map for patch p with KnotVectors kv.
 
void SetPatchDofMap (int p, const KnotVector *kv[])
 Set NURBS space DOF map for patch p with KnotVectors kv.
 
void SetBdrPatchVertexMap (int bp, const KnotVector *kv[], int *okv)
 Set mesh vertex map for boundary patch bp with KnotVectors kv.
 
void SetBdrPatchDofMap (int bp, const KnotVector *kv[], int *okv)
 Set NURBS space DOF map for boundary patch bp with KnotVectors kv.
 
int operator() (const int i) const
 For 1D, return the vertex or DOF at index i.
 
int operator[] (const int i) const
 
int operator() (const int i, const int j) const
 For 2D, return the vertex or DOF at indices i, j.
 
int operator() (const int i, const int j, const int k) const
 For 3D, return the vertex or DOF at indices i, j, k.
 

Detailed Description

Mapping for mesh vertices and NURBS space DOFs.

Definition at line 969 of file nurbs.hpp.

Constructor & Destructor Documentation

◆ NURBSPatchMap()

mfem::NURBSPatchMap::NURBSPatchMap ( const NURBSExtension * ext)
inline

Constructor for an object associated with NURBSExtension ext.

Definition at line 1005 of file nurbs.hpp.

Member Function Documentation

◆ nx()

int mfem::NURBSPatchMap::nx ( ) const
inline

Return the number of elements in the first direction.

Definition at line 1008 of file nurbs.hpp.

◆ ny()

int mfem::NURBSPatchMap::ny ( ) const
inline

Return the number of elements in the second direction (2D or 3D).

Definition at line 1010 of file nurbs.hpp.

◆ nz()

int mfem::NURBSPatchMap::nz ( ) const
inline

Return the number of elements in the third direction (3D).

Definition at line 1012 of file nurbs.hpp.

◆ operator()() [1/3]

int mfem::NURBSPatchMap::operator() ( const int i) const
inline

For 1D, return the vertex or DOF at index i.

Definition at line 1194 of file nurbs.hpp.

◆ operator()() [2/3]

int mfem::NURBSPatchMap::operator() ( const int i,
const int j ) const
inline

For 2D, return the vertex or DOF at indices i, j.

Definition at line 1209 of file nurbs.hpp.

◆ operator()() [3/3]

int mfem::NURBSPatchMap::operator() ( const int i,
const int j,
const int k ) const
inline

For 3D, return the vertex or DOF at indices i, j, k.

Definition at line 1230 of file nurbs.hpp.

◆ operator[]()

int mfem::NURBSPatchMap::operator[] ( const int i) const
inline

Definition at line 1026 of file nurbs.hpp.

◆ SetBdrPatchDofMap()

void mfem::NURBSPatchMap::SetBdrPatchDofMap ( int bp,
const KnotVector * kv[],
int * okv )

Set NURBS space DOF map for boundary patch bp with KnotVectors kv.

Definition at line 5494 of file nurbs.cpp.

◆ SetBdrPatchVertexMap()

void mfem::NURBSPatchMap::SetBdrPatchVertexMap ( int bp,
const KnotVector * kv[],
int * okv )

Set mesh vertex map for boundary patch bp with KnotVectors kv.

Definition at line 5461 of file nurbs.cpp.

◆ SetPatchDofMap()

void mfem::NURBSPatchMap::SetPatchDofMap ( int p,
const KnotVector * kv[] )

Set NURBS space DOF map for patch p with KnotVectors kv.

Definition at line 5430 of file nurbs.cpp.

◆ SetPatchVertexMap()

void mfem::NURBSPatchMap::SetPatchVertexMap ( int p,
const KnotVector * kv[] )

Set mesh vertex map for patch p with KnotVectors kv.

Definition at line 5398 of file nurbs.cpp.


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