Public Member Functions | List of all members
NURBS3DSurface Class Reference

A NURBS 3D surface. More...

Inheritance diagram for NURBS3DSurface:
Inheritance graph
[legend]
Collaboration diagram for NURBS3DSurface:
Collaboration graph
[legend]

Public Member Functions

 NURBS3DSurface (const List< vector > &CPs, const label nPointsU, const label nPointsV, const NURBSbasis &uBasis, const NURBSbasis &vBasis, const word name="NURBS3DSurface")
 
 NURBS3DSurface (const List< vector > &CPs, const List< scalar > &weights, const label nPointsU, const label nPointsV, const NURBSbasis &uBasis, const NURBSbasis &vBasis, const word name="NURBS3DSurface")
 
 NURBS3DSurface (const List< vector > &CPs, const label nPointsU, const label nPointsV, const label uDegree, const label vDegree, const label nCPsU, const label nCPsV, const word name="NURBS3DSurface")
 
 NURBS3DSurface (const List< vector > &CPs, const label nPointsU, const label nPointsV, const label uDegree, const label vDegree, const label nCPsU, const label nCPsV, const scalarField &knotsU, const scalarField &knotsV, const word name="NURBS3DSurface")
 
 NURBS3DSurface (const List< vector > &CPs, const List< scalar > &weights, const label nPointsU, const label nPointsV, const label uDegree, const label vDegree, const label nCPsU, const label nCPsV, const word name="NURBS3DSurface")
 
 NURBS3DSurface (const List< vector > &CPs, const List< scalar > &weights, const label nPointsU, const label nPointsV, const label uDegree, const label vDegree, const label nCPsU, const label nCPsV, const scalarField &knotsU, const scalarField &knotsV, const word name="NURBS3DSurface")
 
 NURBS3DSurface (const NURBS3DSurface &)
 
 ~NURBS3DSurface ()=default
 
void setNrmOrientation (const vector &givenNrm, const scalar u, const scalar v)
 
void flipNrmOrientation ()
 
void setCPs (const List< vector > &CPs)
 
void setWeights (const scalarList &weights)
 
void setName (const word &name)
 
void buildSurface ()
 
void invertU ()
 
void invertV ()
 
void invertUV ()
 
void makeEquidistant (const label lenAcc=25, const label maxIter=10, const label spacingCorrInterval=-1, const scalar tolerance=1.e-5)
 
vector surfacePoint (const scalar &u, const scalar &v)
 
scalarList findClosestSurfacePoint (const vector &targetPoint, const label maxIter=100, const scalar tolerance=1.e-6)
 
tmp< vector2DFieldfindClosestSurfacePoint (const vectorField &targetPoints, const label maxIter=100, const scalar tolerance=1.e-6)
 
scalarList findClosestSurfacePoint (const vector &targetPoint, const scalar &uInitGuess, const scalar &vInitGuess, const label maxIter=100, const scalar tolerance=1.e-6)
 
const vector nrm (scalar u, scalar v)
 
List< scalarListgenEquidistant (const label nUPts=100, const label nVPts=100, const label lenAcc=25, const label maxIter=10, const label spacingCorrInterval=-1, const scalar tolerance=1.e-5)
 
bool checkRangeU (const scalar u, const label CPI, const label uDegree) const
 
bool checkRangeU (const scalar u, const label CPI) const
 
bool checkRangeV (const scalar v, const label CPI, const label vDegree) const
 
bool checkRangeV (const scalar v, const label CPI) const
 
bool checkRangeUV (const scalar v, const scalar u, const label CPI, const label uDegree, const label vDegree) const
 
bool checkRangeUV (const scalar v, const scalar u, const label CPI) const
 
scalar lengthU (const label vIConst, const label uIStart, const label uIEnd) const
 
scalar lengthU (const scalar vConst, const scalar uStart, const scalar uEnd, const label nPts) const
 
scalar lengthU (const label vIConst) const
 
scalar lengthU (const scalar vConst) const
 
scalar lengthV (const label uIConst, const label vIStart, const label vIEnd) const
 
scalar lengthV (const scalar uConst, const scalar vStart, const scalar vEnd, const label nPts) const
 
scalar lengthV (const label uIConst) const
 
scalar lengthV (const scalar uConst) const
 
vector surfaceDerivativeU (const scalar u, const scalar v) const
 
vector surfaceDerivativeV (const scalar u, const scalar v) const
 
vector surfaceDerivativeUV (const scalar u, const scalar v) const
 
vector surfaceDerivativeUU (const scalar u, const scalar v) const
 
vector surfaceDerivativeVV (const scalar u, const scalar v) const
 
scalar surfaceDerivativeCP (const scalar u, const scalar v, const label CPI) const
 
vector surfaceDerivativeW (const scalar u, const scalar v, const label CPI) const
 
scalar lengthDerivativeU (const scalar vConst, const scalar uStart, const scalar uEnd, const label nPts) const
 
scalar lengthDerivativeV (const scalar uConst, const scalar vStart, const scalar vEnd, const label nPts) const
 
const NURBSbasisgetBasisFunctionU () const
 
const NURBSbasisgetBasisFunctionV () const
 
const List< vector > & getCPs () const
 
const scalarListgetWeights () const
 
const scalarListgetParametricCoordinatesU () const
 
const scalarListgetParametricCoordinatesV () const
 
const wordgetName () const
 
label getNPtsU () const
 
label getNPtsV () const
 
const labelListgetBoundaryCPIDs ()
 
const labelListgetBoundaryCPIs ()
 
const label & whichBoundaryCPI (const label &globalCPI)
 
label nrmOrientation () const
 
const vectorgivenInitNrm () const
 
const labelListgetCPsUCPIs () const
 
const labelListgetCPsVCPIs () const
 
void write ()
 
void write (const word fileName)
 
void write (const fileName dirName, const fileName fileName)
 
void writeWParses ()
 
void writeWParses (const word fileName)
 
void writeWParses (const fileName dirName, const fileName fileName)
 
void writeVTK (const fileName vtkDirName, const fileName vtkFileName)
 
- Public Member Functions inherited from Field
constexpr Field () noexcept
 
 Field (const label len)
 
 Field (const label len, const Type &val)
 
 Field (const label len, const Foam::zero)
 
 Field (const Foam::one, const Type &val)
 
 Field (const Foam::one, Type &&val)
 
 Field (const Foam::one, const Foam::zero)
 
 Field (const Field< Type > &fld)
 
 Field (const UList< Type > &list)
 
template<class Addr >
 Field (const IndirectListBase< Type, Addr > &list)
 
 Field (Field< Type > &&fld)
 
 Field (List< Type > &&list)
 
template<int SizeMin>
 Field (DynamicList< Type, SizeMin > &&list)
 
 Field (const UList< Type > &mapF, const labelUList &mapAddressing)
 
 Field (const tmp< Field< Type >> &tmapF, const labelUList &mapAddressing)
 
 Field (const UList< Type > &mapF, const labelListList &mapAddressing, const scalarListList &weights)
 
 Field (const tmp< Field< Type >> &tmapF, const labelListList &mapAddressing, const scalarListList &weights)
 
 Field (const UList< Type > &mapF, const FieldMapper &map, const bool applyFlip=true)
 
 Field (const UList< Type > &mapF, const FieldMapper &map, const Type &defaultValue, const bool applyFlip=true)
 
 Field (const UList< Type > &mapF, const FieldMapper &map, const UList< Type > &defaultValues, const bool applyFlip=true)
 
 Field (const tmp< Field< Type >> &tmapF, const FieldMapper &map, const bool applyFlip=true)
 
 Field (const tmp< Field< Type >> &tmapF, const FieldMapper &map, const Type &defaultValue, const bool applyFlip=true)
 
 Field (const tmp< Field< Type >> &tmapF, const FieldMapper &map, const UList< Type > &defaultValues, const bool applyFlip=true)
 
 Field (Field< Type > &fld, bool reuse)
 
 Field (const tmp< Field< Type >> &tfld)
 
 Field (Istream &is)
 
 Field (const word &keyword, const dictionary &dict, const label len)
 
tmp< Field< Type > > clone () const
 
void map (const UList< Type > &mapF, const labelUList &mapAddressing)
 
void map (const tmp< Field< Type >> &tmapF, const labelUList &mapAddressing)
 
void map (const UList< Type > &mapF, const labelListList &mapAddressing, const scalarListList &weights)
 
void map (const tmp< Field< Type >> &tmapF, const labelListList &mapAddressing, const scalarListList &weights)
 
void map (const UList< Type > &mapF, const FieldMapper &map, const bool applyFlip=true)
 
void map (const tmp< Field< Type >> &tmapF, const FieldMapper &map, const bool applyFlip=true)
 
void autoMap (const FieldMapper &map, const bool applyFlip=true)
 
void rmap (const UList< Type > &mapF, const labelUList &mapAddressing)
 
void rmap (const tmp< Field< Type >> &tmapF, const labelUList &mapAddressing)
 
void rmap (const UList< Type > &mapF, const labelUList &mapAddressing, const UList< scalar > &weights)
 
void rmap (const tmp< Field< Type >> &tmapF, const labelUList &mapAddressing, const UList< scalar > &weights)
 
void negate ()
 
tmp< Field< cmptType > > component (const direction) const
 
void replace (const direction, const UList< cmptType > &)
 
void replace (const direction, const tmp< Field< cmptType >> &)
 
void replace (const direction, const cmptType &)
 
template<class VSForm >
VSForm block (const label start) const
 
tmp< Field< Type > > T () const
 
void writeEntry (const word &keyword, Ostream &os) const
 
SubField< Type > slice (const label pos, label len=-1)
 
const SubField< Type > slice (const label pos, label len=-1) const
 
SubField< Type > slice (const labelRange &range)
 
const SubField< Type > slice (const labelRange &range) const
 
void operator= (const Field< Type > &)
 
void operator= (const tmp< Field< Type >> &)
 
void operator= (const UList< Type > &rhs)
 
void operator= (const SubField< Type > &rhs)
 
template<class Addr >
void operator= (const IndirectListBase< Type, Addr > &rhs)
 
void operator= (Field< Type > &&rhs)
 
void operator= (List< Type > &&rhs)
 
template<int SizeMin>
void operator= (DynamicList< Type, SizeMin > &&rhs)
 
void operator= (const Type &val)
 
void operator= (const Foam::zero)
 
template<class Form , class Cmpt , direction nCmpt>
void operator= (const VectorSpace< Form, Cmpt, nCmpt > &)
 
void operator+= (const UList< Type > &)
 
void operator+= (const tmp< Field< Type >> &)
 
void operator-= (const UList< Type > &)
 
void operator-= (const tmp< Field< Type >> &)
 
void operator*= (const UList< scalar > &)
 
void operator*= (const tmp< Field< scalar >> &)
 
void operator/= (const UList< scalar > &)
 
void operator/= (const tmp< Field< scalar >> &)
 
void operator+= (const Type &)
 
void operator-= (const Type &)
 
void operator*= (const scalar &)
 
void operator/= (const scalar &)
 
template<class Type >
 Field (const UList< Type > &mapF, const labelUList &mapAddressing)
 
template<class Type >
 Field (const tmp< Field< Type >> &tmapF, const labelUList &mapAddressing)
 
template<class Type >
 Field (const UList< Type > &mapF, const labelListList &mapAddressing, const scalarListList &mapWeights)
 
template<class Type >
 Field (const tmp< Field< Type >> &tmapF, const labelListList &mapAddressing, const scalarListList &mapWeights)
 
template<class Type >
 Field (const UList< Type > &mapF, const FieldMapper &mapper, const bool applyFlip)
 
template<class Type >
 Field (const UList< Type > &mapF, const FieldMapper &mapper, const Type &defaultValue, const bool applyFlip)
 
template<class Type >
 Field (const UList< Type > &mapF, const FieldMapper &mapper, const UList< Type > &defaultValues, const bool applyFlip)
 
template<class Type >
 Field (const tmp< Field< Type >> &tmapF, const FieldMapper &mapper, const bool applyFlip)
 
template<class Type >
 Field (const tmp< Field< Type >> &tmapF, const FieldMapper &mapper, const Type &defaultValue, const bool applyFlip)
 
template<class Type >
 Field (const tmp< Field< Type >> &tmapF, const FieldMapper &mapper, const UList< Type > &defaultValues, const bool applyFlip)
 
template<class Type >
 Field (const word &keyword, const dictionary &dict, const label len)
 
template<class Type >
void operator= (const Field< Type > &rhs)
 
template<class Type >
void operator= (const tmp< Field > &rhs)
 
template<class Type >
constexpr Field () noexcept
 
template<class Type >
 Field (const label len)
 
template<class Type >
 Field (const label len, const Type &val)
 
template<class Type >
 Field (const label len, const Foam::zero)
 
template<class Type >
 Field (const Foam::one, const Type &val)
 
template<class Type >
 Field (const Foam::one, Type &&val)
 
template<class Type >
 Field (const Foam::one, const Foam::zero)
 
template<class Type >
 Field (const Field< Type > &fld)
 
template<class Type >
 Field (const UList< Type > &list)
 
template<class Type >
 Field (Field< Type > &&fld)
 
template<class Type >
 Field (List< Type > &&list)
 
template<class Type >
 Field (Field< Type > &fld, bool reuse)
 
template<class Type >
 Field (const tmp< Field< Type >> &tfld)
 
template<class Type >
 Field (Istream &is)
 
template<class Type >
void operator= (const UList< Type > &rhs)
 
template<class Type >
void operator= (const SubField< Type > &rhs)
 
template<class Type >
void operator= (Field< Type > &&rhs)
 
template<class Type >
void operator= (List< Type > &&rhs)
 
template<class Type >
void operator= (const Type &val)
 
template<class Type >
void operator= (const Foam::zero)
 

Additional Inherited Members

- Public Types inherited from Field
typedef pTraits< Type >::cmptType cmptType
 
typedef SubField< Type > subField
 
- Static Public Member Functions inherited from Field
static const Field< Type > & null ()
 
static autoPtr< Field< Type > > New (Istream &is)
 
template<class Type2 >
static tmp< Field< Type > > NewCalculatedType (const Field< Type2 > &f)
 

Detailed Description

A NURBS 3D surface.

Source files

Definition at line 50 of file NURBS3DSurface.H.

Constructor & Destructor Documentation

◆ NURBS3DSurface() [1/7]

NURBS3DSurface ( const List< vector > &  CPs,
const label  nPointsU,
const label  nPointsV,
const NURBSbasis uBasis,
const NURBSbasis vBasis,
const word  name = "NURBS3DSurface" 
)

Definition at line 301 of file NURBS3DSurface.C.

◆ NURBS3DSurface() [2/7]

NURBS3DSurface ( const List< vector > &  CPs,
const List< scalar > &  weights,
const label  nPointsU,
const label  nPointsV,
const NURBSbasis uBasis,
const NURBSbasis vBasis,
const word  name = "NURBS3DSurface" 
)

Definition at line 338 of file NURBS3DSurface.C.

◆ NURBS3DSurface() [3/7]

NURBS3DSurface ( const List< vector > &  CPs,
const label  nPointsU,
const label  nPointsV,
const label  uDegree,
const label  vDegree,
const label  nCPsU,
const label  nCPsV,
const word  name = "NURBS3DSurface" 
)

Definition at line 376 of file NURBS3DSurface.C.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ NURBS3DSurface() [4/7]

NURBS3DSurface ( const List< vector > &  CPs,
const label  nPointsU,
const label  nPointsV,
const label  uDegree,
const label  vDegree,
const label  nCPsU,
const label  nCPsV,
const scalarField knotsU,
const scalarField knotsV,
const word  name = "NURBS3DSurface" 
)

Definition at line 424 of file NURBS3DSurface.C.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ NURBS3DSurface() [5/7]

NURBS3DSurface ( const List< vector > &  CPs,
const List< scalar > &  weights,
const label  nPointsU,
const label  nPointsV,
const label  uDegree,
const label  vDegree,
const label  nCPsU,
const label  nCPsV,
const word  name = "NURBS3DSurface" 
)

Definition at line 474 of file NURBS3DSurface.C.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ NURBS3DSurface() [6/7]

NURBS3DSurface ( const List< vector > &  CPs,
const List< scalar > &  weights,
const label  nPointsU,
const label  nPointsV,
const label  uDegree,
const label  vDegree,
const label  nCPsU,
const label  nCPsV,
const scalarField knotsU,
const scalarField knotsV,
const word  name = "NURBS3DSurface" 
)

Definition at line 524 of file NURBS3DSurface.C.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ NURBS3DSurface() [7/7]

◆ ~NURBS3DSurface()

~NURBS3DSurface ( )
default

Member Function Documentation

◆ setNrmOrientation()

void setNrmOrientation ( const vector givenNrm,
const scalar  u,
const scalar  v 
)

Definition at line 578 of file NURBS3DSurface.C.

References Foam::endl(), Foam::Info, and Foam::mag().

Here is the call graph for this function:

◆ flipNrmOrientation()

void flipNrmOrientation ( )

Definition at line 606 of file NURBS3DSurface.C.

◆ setCPs()

void setCPs ( const List< vector > &  CPs)

Definition at line 619 of file NURBS3DSurface.C.

◆ setWeights()

void setWeights ( const scalarList weights)

Definition at line 625 of file NURBS3DSurface.C.

◆ setName()

void setName ( const word name)

Definition at line 631 of file NURBS3DSurface.C.

References Foam::name().

Here is the call graph for this function:

◆ buildSurface()

void buildSurface ( )

Definition at line 637 of file NURBS3DSurface.C.

References NURBSbasis::basisValue(), NURBSbasis::degree(), field(), NURBSbasis::nCPs(), VectorSpace< Vector< scalar >, scalar, 3 >::zero, and Foam::Zero.

Referenced by NURBS3DSurface::invertU(), NURBS3DSurface::invertUV(), and NURBS3DSurface::invertV().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ invertU()

void invertU ( )

Definition at line 696 of file NURBS3DSurface.C.

References NURBS3DSurface::buildSurface(), Foam::endl(), Foam::Info, NURBSbasis::nCPs(), and Foam::Zero.

Here is the call graph for this function:

◆ invertV()

void invertV ( )

Definition at line 725 of file NURBS3DSurface.C.

References NURBS3DSurface::buildSurface(), Foam::endl(), Foam::Info, NURBSbasis::nCPs(), and Foam::Zero.

Here is the call graph for this function:

◆ invertUV()

void invertUV ( )

Definition at line 754 of file NURBS3DSurface.C.

References NURBS3DSurface::buildSurface(), Foam::endl(), Foam::Info, NURBSbasis::nCPs(), and Foam::Zero.

Here is the call graph for this function:

◆ makeEquidistant()

void makeEquidistant ( const label  lenAcc = 25,
const label  maxIter = 10,
const label  spacingCorrInterval = -1,
const scalar  tolerance = 1.e-5 
)

Definition at line 785 of file NURBS3DSurface.C.

References forAll, and Foam::Zero.

◆ surfacePoint()

vector surfacePoint ( const scalar &  u,
const scalar &  v 
)

Definition at line 871 of file NURBS3DSurface.C.

References Foam::Zero.

◆ findClosestSurfacePoint() [1/3]

scalarList findClosestSurfacePoint ( const vector targetPoint,
const label  maxIter = 100,
const scalar  tolerance = 1.e-6 
)

Definition at line 918 of file NURBS3DSurface.C.

References Foam::constant::physicoChemical::b, Foam::constant::universal::c, Foam::endl(), forAll, Foam::mag(), and WarningInFunction.

Here is the call graph for this function:

◆ findClosestSurfacePoint() [2/3]

tmp< vector2DField > findClosestSurfacePoint ( const vectorField targetPoints,
const label  maxIter = 100,
const scalar  tolerance = 1.e-6 
)

◆ findClosestSurfacePoint() [3/3]

scalarList findClosestSurfacePoint ( const vector targetPoint,
const scalar &  uInitGuess,
const scalar &  vInitGuess,
const label  maxIter = 100,
const scalar  tolerance = 1.e-6 
)

Definition at line 1202 of file NURBS3DSurface.C.

References Foam::bound(), Foam::endl(), Foam::mag(), and WarningInFunction.

Here is the call graph for this function:

◆ nrm()

const vector nrm ( scalar  u,
scalar  v 
)

Definition at line 1258 of file NURBS3DSurface.C.

References Foam::mag(), NURBS3DSurface::surfaceDerivativeU(), NURBS3DSurface::surfaceDerivativeV(), and Foam::Zero.

Here is the call graph for this function:

◆ genEquidistant()

List< scalarList > genEquidistant ( const label  nUPts = 100,
const label  nVPts = 100,
const label  lenAcc = 25,
const label  maxIter = 10,
const label  spacingCorrInterval = -1,
const scalar  tolerance = 1.e-5 
)

Definition at line 1278 of file NURBS3DSurface.C.

References forAll, U, and Foam::Zero.

◆ checkRangeU() [1/2]

bool checkRangeU ( const scalar  u,
const label  CPI,
const label  uDegree 
) const

Definition at line 1374 of file NURBS3DSurface.C.

◆ checkRangeU() [2/2]

bool checkRangeU ( const scalar  u,
const label  CPI 
) const

Definition at line 1387 of file NURBS3DSurface.C.

◆ checkRangeV() [1/2]

bool checkRangeV ( const scalar  v,
const label  CPI,
const label  vDegree 
) const

Definition at line 1399 of file NURBS3DSurface.C.

◆ checkRangeV() [2/2]

bool checkRangeV ( const scalar  v,
const label  CPI 
) const

Definition at line 1412 of file NURBS3DSurface.C.

◆ checkRangeUV() [1/2]

bool checkRangeUV ( const scalar  v,
const scalar  u,
const label  CPI,
const label  uDegree,
const label  vDegree 
) const

Definition at line 1424 of file NURBS3DSurface.C.

◆ checkRangeUV() [2/2]

bool checkRangeUV ( const scalar  v,
const scalar  u,
const label  CPI 
) const

Definition at line 1442 of file NURBS3DSurface.C.

◆ lengthU() [1/4]

scalar lengthU ( const label  vIConst,
const label  uIStart,
const label  uIEnd 
) const

Definition at line 1456 of file NURBS3DSurface.C.

References forAll, Foam::mag(), and Foam::Zero.

Referenced by NURBS3DSurface::lengthU().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ lengthU() [2/4]

scalar lengthU ( const scalar  vConst,
const scalar  uStart,
const scalar  uEnd,
const label  nPts 
) const

Definition at line 1490 of file NURBS3DSurface.C.

References forAll, Foam::mag(), and Foam::Zero.

Here is the call graph for this function:

◆ lengthU() [3/4]

scalar lengthU ( const label  vIConst) const

Definition at line 1520 of file NURBS3DSurface.C.

References NURBS3DSurface::lengthU().

Here is the call graph for this function:

◆ lengthU() [4/4]

scalar lengthU ( const scalar  vConst) const

Definition at line 1526 of file NURBS3DSurface.C.

References NURBS3DSurface::lengthU().

Here is the call graph for this function:

◆ lengthV() [1/4]

scalar lengthV ( const label  uIConst,
const label  vIStart,
const label  vIEnd 
) const

Definition at line 1533 of file NURBS3DSurface.C.

References forAll, Foam::mag(), and Foam::Zero.

Referenced by NURBS3DSurface::lengthV().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ lengthV() [2/4]

scalar lengthV ( const scalar  uConst,
const scalar  vStart,
const scalar  vEnd,
const label  nPts 
) const

Definition at line 1567 of file NURBS3DSurface.C.

References forAll, Foam::mag(), and Foam::Zero.

Here is the call graph for this function:

◆ lengthV() [3/4]

scalar lengthV ( const label  uIConst) const

Definition at line 1597 of file NURBS3DSurface.C.

References NURBS3DSurface::lengthV().

Here is the call graph for this function:

◆ lengthV() [4/4]

scalar lengthV ( const scalar  uConst) const

Definition at line 1603 of file NURBS3DSurface.C.

References NURBS3DSurface::lengthV().

Here is the call graph for this function:

◆ surfaceDerivativeU()

vector surfaceDerivativeU ( const scalar  u,
const scalar  v 
) const

Definition at line 1612 of file NURBS3DSurface.C.

References Foam::bound(), and Foam::Zero.

Referenced by NURBS3DSurface::nrm().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ surfaceDerivativeV()

vector surfaceDerivativeV ( const scalar  u,
const scalar  v 
) const

Definition at line 1654 of file NURBS3DSurface.C.

References Foam::bound(), and Foam::Zero.

Referenced by NURBS3DSurface::nrm().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ surfaceDerivativeUV()

vector surfaceDerivativeUV ( const scalar  u,
const scalar  v 
) const

Definition at line 1696 of file NURBS3DSurface.C.

References Foam::bound(), and Foam::Zero.

Here is the call graph for this function:

◆ surfaceDerivativeUU()

vector surfaceDerivativeUU ( const scalar  u,
const scalar  v 
) const

Definition at line 1758 of file NURBS3DSurface.C.

References Foam::bound(), and Foam::Zero.

Here is the call graph for this function:

◆ surfaceDerivativeVV()

vector surfaceDerivativeVV ( const scalar  u,
const scalar  v 
) const

Definition at line 1814 of file NURBS3DSurface.C.

References Foam::bound(), and Foam::Zero.

Here is the call graph for this function:

◆ surfaceDerivativeCP()

scalar surfaceDerivativeCP ( const scalar  u,
const scalar  v,
const label  CPI 
) const

Definition at line 1870 of file NURBS3DSurface.C.

References Foam::Zero.

◆ surfaceDerivativeW()

vector surfaceDerivativeW ( const scalar  u,
const scalar  v,
const label  CPI 
) const

Definition at line 1912 of file NURBS3DSurface.C.

References Foam::Zero.

◆ lengthDerivativeU()

scalar lengthDerivativeU ( const scalar  vConst,
const scalar  uStart,
const scalar  uEnd,
const label  nPts 
) const

Definition at line 1955 of file NURBS3DSurface.C.

References forAll, Foam::mag(), and Foam::Zero.

Here is the call graph for this function:

◆ lengthDerivativeV()

scalar lengthDerivativeV ( const scalar  uConst,
const scalar  vStart,
const scalar  vEnd,
const label  nPts 
) const

Definition at line 1993 of file NURBS3DSurface.C.

References forAll, Foam::mag(), and Foam::Zero.

Here is the call graph for this function:

◆ getBasisFunctionU()

const NURBSbasis& getBasisFunctionU ( ) const
inline

Definition at line 453 of file NURBS3DSurface.H.

◆ getBasisFunctionV()

const NURBSbasis& getBasisFunctionV ( ) const
inline

Definition at line 458 of file NURBS3DSurface.H.

◆ getCPs()

const List<vector>& getCPs ( ) const
inline

Definition at line 464 of file NURBS3DSurface.H.

◆ getWeights()

const scalarList& getWeights ( ) const
inline

Definition at line 470 of file NURBS3DSurface.H.

◆ getParametricCoordinatesU()

const scalarList& getParametricCoordinatesU ( ) const
inline

Definition at line 476 of file NURBS3DSurface.H.

◆ getParametricCoordinatesV()

const scalarList& getParametricCoordinatesV ( ) const
inline

Definition at line 481 of file NURBS3DSurface.H.

◆ getName()

const word& getName ( ) const
inline

Definition at line 487 of file NURBS3DSurface.H.

◆ getNPtsU()

label getNPtsU ( ) const
inline

Definition at line 493 of file NURBS3DSurface.H.

◆ getNPtsV()

label getNPtsV ( ) const
inline

Definition at line 499 of file NURBS3DSurface.H.

◆ getBoundaryCPIDs()

const labelList & getBoundaryCPIDs ( )

Definition at line 2032 of file NURBS3DSurface.C.

References NURBSbasis::nCPs().

Referenced by NURBS3DSurface::getBoundaryCPIs(), and NURBS3DSurface::whichBoundaryCPI().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getBoundaryCPIs()

const labelList & getBoundaryCPIs ( )

Definition at line 2070 of file NURBS3DSurface.C.

References NURBS3DSurface::getBoundaryCPIDs().

Here is the call graph for this function:

◆ whichBoundaryCPI()

const label & whichBoundaryCPI ( const label &  globalCPI)

Definition at line 2076 of file NURBS3DSurface.C.

References NURBS3DSurface::getBoundaryCPIDs().

Here is the call graph for this function:

◆ nrmOrientation()

label nrmOrientation ( ) const
inline

Definition at line 513 of file NURBS3DSurface.H.

◆ givenInitNrm()

const vector& givenInitNrm ( ) const
inline

Definition at line 519 of file NURBS3DSurface.H.

◆ getCPsUCPIs()

const labelList& getCPsUCPIs ( ) const
inline

Definition at line 525 of file NURBS3DSurface.H.

◆ getCPsVCPIs()

const labelList& getCPsVCPIs ( ) const
inline

Definition at line 531 of file NURBS3DSurface.H.

◆ write() [1/3]

void write ( )

Definition at line 2089 of file NURBS3DSurface.C.

◆ write() [2/3]

void write ( const word  fileName)

Definition at line 2095 of file NURBS3DSurface.C.

References Foam::endl(), forAll, and UPstream::master().

Here is the call graph for this function:

◆ write() [3/3]

void write ( const fileName  dirName,
const fileName  fileName 
)

Definition at line 2152 of file NURBS3DSurface.C.

References Foam::endl(), forAll, and UPstream::master().

Here is the call graph for this function:

◆ writeWParses() [1/3]

void writeWParses ( )

Definition at line 2209 of file NURBS3DSurface.C.

◆ writeWParses() [2/3]

void writeWParses ( const word  fileName)

Definition at line 2215 of file NURBS3DSurface.C.

References Foam::endl(), forAll, and UPstream::master().

Here is the call graph for this function:

◆ writeWParses() [3/3]

void writeWParses ( const fileName  dirName,
const fileName  fileName 
)

Definition at line 2275 of file NURBS3DSurface.C.

References Foam::endl(), forAll, and UPstream::master().

Here is the call graph for this function:

◆ writeVTK()

void writeVTK ( const fileName  vtkDirName,
const fileName  vtkFileName 
)

Definition at line 2338 of file NURBS3DSurface.C.

References Foam::exit(), fileName::ext(), Foam::FatalError, FatalErrorInFunction, UPstream::master(), word::null, and writer().

Here is the call graph for this function:

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