#include <iso_visual_cell_type.h>
Inherits iso::visual::CellType.
Inheritance diagram for iso::visual::LineCell:
Public Member Functions | |
LineCell (BasisFunctionType pBasisFunctionType) | |
~LineCell () | |
CellType * | copy () const |
create copy of cell type | |
unsigned int | cellCount (const int pGridSize[]) const |
return number of cells | |
int | cellIndex (const real pStdPointCoord[], const int pGridSize[]) const |
return cell index | |
void | world2cell (const real pVertices[], const real pWorldPoint[], real pCellPoint[]) const |
transform point in world coordinates into point in cell coordinates | |
void | world2cell (unsigned int pWorldDim, const real pVertices[], const real pWorldPoint[], real pCellPoint[]) const |
transform point in world coordinates into point in cell coordinates | |
void | vertexIndices (int *pGridSize, int pCellIndex, int *pVertexIndices) const |
virtual base::String | info () const |
return textual cell type information | |
Static Protected Member Functions | |
static real | linearCellBasisFunction1 (const real *pCellPoint) |
static real | linearCellBasisFunction2 (const real *pCellPoint) |
LineCell::LineCell | ( | BasisFunctionType | pBasisFunctionType | ) |
LineCell::~LineCell | ( | ) |
CellType * LineCell::copy | ( | ) | const [virtual] |
unsigned int LineCell::cellCount | ( | const int | pGridSize[] | ) | const [virtual] |
return number of cells
pGridSize | size of grid |
Implements iso::visual::CellType.
int LineCell::cellIndex | ( | const real | pStdPointCoord[], | |
const int | pGridSize[] | |||
) | const [virtual] |
return cell index
pStdPointCoord | standardized point coordinates (point coordinates run from 0 to gridSize - 2 in each dimension) | |
pGridSize | grid size |
Implements iso::visual::CellType.
void LineCell::world2cell | ( | const real | pVertices[], | |
const real | pWorldPoint[], | |||
real | pCellPoint[] | |||
) | const [virtual] |
transform point in world coordinates into point in cell coordinates
pVertices | cell vertices in world coordinates | |
pWorldPoint | point within cell in world coordinates | |
pCellPoint | point within cell in cell coordinates (return value) |
Implements iso::visual::CellType.
void LineCell::world2cell | ( | unsigned int | pWorldDim, | |
const real | pVertices[], | |||
const real | pWorldPoint[], | |||
real | pCellPoint[] | |||
) | const [virtual] |
transform point in world coordinates into point in cell coordinates
pWorldDim | world dimension | |
pVertices | cell vertices in world coordinates | |
pWorldPoint | point within cell in world coordinates | |
pCellPoint | point within cell in cell coordinates (return value) |
Implements iso::visual::CellType.
void LineCell::vertexIndices | ( | int * | pGridSize, | |
int | pCellIndex, | |||
int * | pVertexIndices | |||
) | const [virtual] |
Implements iso::visual::CellType.
base::String LineCell::info | ( | ) | const [virtual] |
return textual cell type information
Reimplemented from iso::visual::CellType.
real iso::visual::LineCell::linearCellBasisFunction1 | ( | const real * | pCellPoint | ) | [inline, static, protected] |
real iso::visual::LineCell::linearCellBasisFunction2 | ( | const real * | pCellPoint | ) | [inline, static, protected] |