Similar to NuTo::CellData.
More...
#include <CellIpData.h>
|
| CellIpData (const CellData &cellData, NuTo::Jacobian jacobian, NaturalCoords ipCoords, int ipId) |
| ctor More...
|
|
Eigen::VectorXd | GlobalCoordinates () const |
| Caluclate the global integration point coordinates. More...
|
|
CellIds | Ids () const |
| Access to the cellId and ipId, compressed in CellIds. More...
|
|
Eigen::VectorXd | Value (DofType dofType, int instance=0) const |
| Calculates the value of a dof at the integration point. More...
|
|
const NuTo::Jacobian & | GetJacobian () const |
|
double | Value (ScalarDofType dofType, int instance=0) const |
|
Eigen::VectorXd | Apply (DofType dofType, const Nabla::Interface &b, int instance=0) const |
| Calculates the gradient (derivative of the value with respect to x) for a given dof type at the integration point. More...
|
|
const Eigen::MatrixXd & | N (DofType dofType) const |
| Returns a memoized copy of the N matrix for a given dof type. More...
|
|
const Eigen::MatrixXd & | B (DofType dofType, const Nabla::Interface &b) const |
| Returns a memoized copy of the B matrix for a given dof type. More...
|
|
const Eigen::VectorXd & | NodeValueVector (DofType dofType, int instance=0) const |
| Returns memoized nodal values. More...
|
|
Similar to NuTo::CellData.
Memoizes N and B and allows access to the values and gradients of a dof at this integration point
ctor
- Parameters
-
cellData | cell data that is constant for all integration points of a cell (cellId, node values) |
jacobian | transformation from the natural (xi, eta,...) system to the global system (x,y,..) |
ipCoords | coordinates of the current integration point |
ipId | id of the current integration point |
Calculates the gradient (derivative of the value with respect to x) for a given dof type at the integration point.
- Parameters
-
dofType | dof type that is evaluated |
b | gradient operator that determines how to calculate the derivative (e.g. B::Gradient() for scalars or |
instance | id of the dof instance B::Strain() for engineering strains) |
- Returns
- gradient of the dof
Returns a memoized copy of the B matrix for a given dof type.
- Parameters
-
b | gradient operator that determines how to calculate the derivative (e.g. B::Gradient() for scalars or B::Strain() for engineering strains) |
- Returns
- B matrix
Eigen::VectorXd NuTo::CellIpData::GlobalCoordinates |
( |
| ) |
const |
|
inline |
Caluclate the global integration point coordinates.
- Returns
- global integration point coordinates
CellIds NuTo::CellIpData::Ids |
( |
| ) |
const |
|
inline |
Access to the cellId and ipId, compressed in CellIds.
- Returns
- named pair of cellId and ipId
const Eigen::MatrixXd& NuTo::CellIpData::N |
( |
DofType |
dofType | ) |
const |
|
inline |
Returns a memoized copy of the N matrix for a given dof type.
- Returns
- N matrix
const Eigen::VectorXd& NuTo::CellIpData::NodeValueVector |
( |
DofType |
dofType, |
|
|
int |
instance = 0 |
|
) |
| const |
|
inline |
Returns memoized nodal values.
- Returns
- nodal values for dofType
- Parameters
-
instance | id of the dof instance |
Eigen::VectorXd NuTo::CellIpData::Value |
( |
DofType |
dofType, |
|
|
int |
instance = 0 |
|
) |
| const |
|
inline |
Calculates the value of a dof at the integration point.
- Parameters
-
dofType | dof type that is interpolated |
instance | id of the dof instance |
- Returns
- interpolated dof value
double NuTo::CellIpData::Value |
( |
ScalarDofType |
dofType, |
|
|
int |
instance = 0 |
|
) |
| const |
|
inline |
The documentation for this class was generated from the following file: