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

Mapping for mesh vertices and NURBS space DOFs on a patch. More...

#include <nurbs.hpp>

Public Member Functions

 NURBSPatchMap (const NURBSExtension *ext)
 Constructor for an object associated with NURBSExtension ext.
 
int nx () const
 
int ny () const
 
int nz () const
 
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 on a patch.

This class has two modes, for vertices or DOFs, depending on whether SetPatchVertexMap or SetPatchDofMap is called.

Definition at line 1085 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 1151 of file nurbs.hpp.

Member Function Documentation

◆ nx()

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

Vertex mode: Return the number of elements in the first direction. DOF mode: Return the number of control points - 1 in the first direction.

Definition at line 1155 of file nurbs.hpp.

◆ ny()

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

Vertex mode: Return the number of elements in the second direction (2D or 3D). DOF mode: Return the number of control points - 1 in the second direction (2D or 3D).

Definition at line 1159 of file nurbs.hpp.

◆ nz()

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

Vertex mode: Return the number of elements in the third direction (3D). DOF mode: Return the number of control points - 1 in the third direction (3D).

Definition at line 1163 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 1353 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 1370 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 1391 of file nurbs.hpp.

◆ operator[]()

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

Definition at line 1177 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 5995 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 5959 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 5910 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 5877 of file nurbs.cpp.


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