#include <nurbs.hpp>
|
| KnotVector () |
| Create KnotVector. More...
|
|
| KnotVector (std::istream &input) |
|
| KnotVector (int Order_, int NCP) |
|
| KnotVector (const KnotVector &kv) |
|
KnotVector & | operator= (const KnotVector &kv) |
|
int | GetNE () const |
|
int | GetNKS () const |
|
int | GetNCP () const |
|
int | GetOrder () const |
|
int | Size () const |
|
void | GetElements () |
| Count the number of elements. More...
|
|
bool | isElement (int i) const |
|
double | getKnotLocation (double xi, int ni) const |
|
int | findKnotSpan (double u) const |
|
void | CalcShape (Vector &shape, int i, double xi) const |
|
void | CalcDShape (Vector &grad, int i, double xi) const |
|
void | CalcDnShape (Vector &gradn, int n, int i, double xi) const |
|
void | CalcD2Shape (Vector &grad2, int i, double xi) const |
|
void | Difference (const KnotVector &kv, Vector &diff) const |
|
void | UniformRefinement (Vector &newknots) const |
|
KnotVector * | DegreeElevate (int t) const |
|
void | Flip () |
|
void | Print (std::ostream &out) const |
|
void | PrintFunctions (std::ostream &out, int samples=11) const |
|
| ~KnotVector () |
| Destroys KnotVector. More...
|
|
double & | operator[] (int i) |
|
const double & | operator[] (int i) const |
|
Definition at line 31 of file nurbs.hpp.
mfem::KnotVector::KnotVector |
( |
| ) |
|
|
inline |
mfem::KnotVector::KnotVector |
( |
std::istream & |
input | ) |
|
mfem::KnotVector::KnotVector |
( |
int |
Order_, |
|
|
int |
NCP |
|
) |
| |
mfem::KnotVector::KnotVector |
( |
const KnotVector & |
kv | ) |
|
|
inline |
mfem::KnotVector::~KnotVector |
( |
| ) |
|
|
inline |
void mfem::KnotVector::CalcD2Shape |
( |
Vector & |
grad2, |
|
|
int |
i, |
|
|
double |
xi |
|
) |
| const |
|
inline |
void mfem::KnotVector::CalcDnShape |
( |
Vector & |
gradn, |
|
|
int |
n, |
|
|
int |
i, |
|
|
double |
xi |
|
) |
| const |
void mfem::KnotVector::CalcDShape |
( |
Vector & |
grad, |
|
|
int |
i, |
|
|
double |
xi |
|
) |
| const |
void mfem::KnotVector::CalcShape |
( |
Vector & |
shape, |
|
|
int |
i, |
|
|
double |
xi |
|
) |
| const |
KnotVector * mfem::KnotVector::DegreeElevate |
( |
int |
t | ) |
const |
Return a new KnotVector with elevated degree by repeating the endpoints of the knot vector.
Definition at line 58 of file nurbs.cpp.
void mfem::KnotVector::Difference |
( |
const KnotVector & |
kv, |
|
|
Vector & |
diff |
|
) |
| const |
int mfem::KnotVector::findKnotSpan |
( |
double |
u | ) |
const |
void mfem::KnotVector::Flip |
( |
| ) |
|
void mfem::KnotVector::GetElements |
( |
| ) |
|
Count the number of elements.
Definition at line 101 of file nurbs.cpp.
double mfem::KnotVector::getKnotLocation |
( |
double |
xi, |
|
|
int |
ni |
|
) |
| const |
|
inline |
int mfem::KnotVector::GetNCP |
( |
| ) |
const |
|
inline |
int mfem::KnotVector::GetNE |
( |
| ) |
const |
|
inline |
int mfem::KnotVector::GetNKS |
( |
| ) |
const |
|
inline |
int mfem::KnotVector::GetOrder |
( |
| ) |
const |
|
inline |
bool mfem::KnotVector::isElement |
( |
int |
i | ) |
const |
|
inline |
double& mfem::KnotVector::operator[] |
( |
int |
i | ) |
|
|
inline |
const double& mfem::KnotVector::operator[] |
( |
int |
i | ) |
const |
|
inline |
void mfem::KnotVector::Print |
( |
std::ostream & |
out | ) |
const |
void mfem::KnotVector::PrintFunctions |
( |
std::ostream & |
out, |
|
|
int |
samples = 11 |
|
) |
| const |
int mfem::KnotVector::Size |
( |
| ) |
const |
|
inline |
void mfem::KnotVector::UniformRefinement |
( |
Vector & |
newknots | ) |
const |
const int mfem::KnotVector::MaxOrder = 10 |
|
staticprotected |
int mfem::KnotVector::NumOfControlPoints |
|
protected |
int mfem::KnotVector::NumOfElements |
|
protected |
int mfem::KnotVector::Order |
|
protected |
The documentation for this class was generated from the following files: