|
IFEM
90A354
|
Utilities for LR-splines. More...
Classes | |
| struct | RefineData |
| A struct of data to control the mesh refinement. More... | |
Functions | |
| int | extendControlPoints (LRSpline *basis, const Vector &v, int nf, int ofs=0) |
| Expands the basis coefficients of an LR-spline object. More... | |
| void | contractControlPoints (LRSpline *basis, Vector &v, int nf, int ofs=0) |
| Contracts the basis coefficients of an LR-spline object. More... | |
| void | getGaussPointParameters (const LRSpline *spline, RealArray &uGP, int d, int nGauss, int iel, const double *xi) |
| Extracts parameter values of the Gauss points in one direction. More... | |
| void | generateThreadGroups (ThreadGroups &threadGroups, const LRSpline *lr, const std::vector< LRSpline * > &addConstraints={}) |
| Generates thread groups for a LR-spline mesh. More... | |
| void | createMNPC (const LR::LRSpline *basis, IntMat &result) |
| Createss the matrix of nodal point correspondance for a LR-spline. More... | |
Utilities for LR-splines.
| void LR::contractControlPoints | ( | LRSpline * | basis, |
| Vector & | v, | ||
| int | nf, | ||
| int | ofs = 0 |
||
| ) |
Contracts the basis coefficients of an LR-spline object.
| basis | The spline object to contact | |
| [out] | v | Vector containing the extracted basis coefficients |
| [in] | nf | Number of fields in the given vector |
| [in] | ofs | Offset in vector |
Referenced by ASMu2Dmx::refine(), and ASMu3Dmx::refine().
| void LR::createMNPC | ( | const LR::LRSpline * | basis, |
| IntMat & | result | ||
| ) |
Createss the matrix of nodal point correspondance for a LR-spline.
| [in] | basis | LR-spline to get nodal point correspondance for |
| [out] | result | Matrix of nodal point correspondance for the elements |
Referenced by ASMu2D::generateFEMTopology(), ASMu3D::generateFEMTopology(), ASMu2D::getElmNodes(), and ASMu3D::getElmNodes().
| int LR::extendControlPoints | ( | LRSpline * | basis, |
| const Vector & | v, | ||
| int | nf, | ||
| int | ofs = 0 |
||
| ) |
Expands the basis coefficients of an LR-spline object.
| basis | The spline object to extend | |
| [in] | v | The vector to append to the basis coefficients |
| [in] | nf | Number of fields in the given vector |
| [in] | ofs | Offset in vector |
Referenced by ASMu2Dmx::refine(), and ASMu3Dmx::refine().
| void LR::generateThreadGroups | ( | ThreadGroups & | threadGroups, |
| const LRSpline * | lr, | ||
| const std::vector< LRSpline * > & | addConstraints = {} |
||
| ) |
Generates thread groups for a LR-spline mesh.
| [out] | threadGroups | The generated thread groups |
| [in] | lr | The LR-spline to generate thread groups for |
| [in] | addConstraints | If given, additional constraint bases |
Referenced by ASMu2D::generateThreadGroups(), ASMu2Dmx::generateThreadGroups(), ASMu3D::generateThreadGroups(), and ASMu3Dmx::generateThreadGroups().
| void LR::getGaussPointParameters | ( | const LRSpline * | spline, |
| RealArray & | uGP, | ||
| int | d, | ||
| int | nGauss, | ||
| int | iel, | ||
| const double * | xi | ||
| ) |
Extracts parameter values of the Gauss points in one direction.
| [in] | spline | The LR-spline object to get parameter values for |
| [out] | uGP | Parameter values in given direction for all points |
| [in] | d | Parameter direction (0,1,2) |
| [in] | nGauss | Number of Gauss points along a knot-span |
| [in] | iel | Element index |
| [in] | xi | Dimensionless Gauss point coordinates [-1,1] |
Referenced by ASMu2D::getGaussPointParameters().