54 inline unsigned long GetCaps()
const {
return 0; }
55 inline int nNode()
const {
return 27; }
56 inline int nSide()
const {
return 6; }
58 int SideNode (
int side,
int node)
const;
60 inline double Size()
const {
return size; }
63 {
return Local (glob); }
79 {
return GlobalShapeF (glob); }
81 {
return GlobalShapeD (glob); }
83 inline double IntF (
int i)
const
85 inline double IntFF (
int i,
int j)
const
86 {
return intff(i,j); }
89 inline double IntFFF (
int i,
int j,
int k)
const
90 {
return intfff[i](j,k); }
94 inline double IntDD (
int i,
int j)
const {
return intdd(i,j); }
95 inline double IntFDD (
int i,
int j,
int k)
const {
return intfdd[i](j,k); }
109 double IntFd (
int i,
int j,
int k)
const;
112 double IntFdd (
int i,
int j,
int k,
int l,
int m)
const;
114 double IntPdd (
const RVector &p,
int j,
int k,
int l,
int m)
const;
118 double IntFfd (
int i,
int j,
int k,
int l)
const;
120 double IntPfd(
const RVector &p,
int j,
int k,
int l)
const;
124 RDenseMatrix ElasticityStiffnessMatrix (
double modulus,
double pratio)
127 int GlobalIntersection (
const NodeList &nlist,
const Point &p1,
129 { ERROR_UNDEF;
return 0; }
131 { ERROR_UNDEF;
return 0; }
134 void ComputeIntF ()
const;
135 void ComputeIntFF ()
const;
136 void ComputeIntFFF ()
const;
137 void ComputeIntDD ()
const;
138 void ComputeIntFDD ()
const;
139 void ComputeBndIntFF ()
const;
140 void ComputeBndIntFFF ()
const;
146 static double dx, dy, dz;
Templated vector class.
Definition: vector.h:39
double IntFF(int i, int j) const
Integral of a product of two shape functions over the element.
Definition: vox27.h:85
RSymMatrix BndIntPFF(const RVector &P) const
Surface integrals of all products of a nodal function and two shape functions over all boundary sides...
Definition: vox27.h:102
unsigned long GetCaps() const
Returns element capability flags.
Definition: vox27.h:54
void Initialise(const NodeList &nlist)
Element initialisation.
double IntDD(int i, int j) const
Integral of a product of two shape function derivatives over the element.
Definition: vox27.h:94
bool LContains(const Point &loc, bool pad=true) const
Checks if a local point coordinate is inside the element.
RVector DirectionCosine(int side, RDenseMatrix &jacin)
Returns the direction cosines of a side normal.
Definition: vox27.h:67
double IntFFF(int i, int j, int k) const
Integral of a product of three shape functions over the element.
Definition: vox27.h:89
RDenseMatrix LocalShapeD(const Point &loc) const
Returns the values of the shape function derivatives at a local point.
Base class for all 3-D structured element types.
Definition: element.h:1211
RVector LocalShapeF(const Point &loc) const
Returns the values of the shape functions at a local point.
bool GContains(const Point &glob, const NodeList &) const
Checks if a global point coordinate is inside the element.
double IntPFF(int i, int j, const RVector &P) const
Integral of a product of two shape functions and a nodal function over the element.
double IntFdd(int i, int j, int k, int l, int m) const
Integral of the product of a shape function and two partial shape function derivatives over the eleme...
Point NodeLocal(int node) const
Returns the local coordinates of an element node.
RSymMatrix IntPDD(const RVector &P) const
All integrals of products of a nodal function and two shape function derivatives over the element...
double IntF(int i) const
Integral of a shape function over the element.
Definition: vox27.h:83
#define ELID_VOX27
27-noded voxel
Definition: element.h:48
int nSideNode(int) const
Returns the number of vertices associated with a side.
Definition: vox27.h:57
double Size() const
Returns the element size.
Definition: vox27.h:60
double BndIntFFSide(int i, int j, int sd)
Surface integral of a product of two shape functions over one of the sides of the element...
BYTE Type() const
Returns an element type identifier.
Definition: vox27.h:53
int nSide() const
Returns the number of element sides.
Definition: vox27.h:56
RSymMatrix Intdd() const
Integral of the product of two partial shape function derivatives over the element.
RSymMatrix BndIntFF() const
Boundary integral of all products of two shape functions over all boundary sides of the element...
Definition: vox27.h:100
const RVector & LNormal(int side) const
Returns a side normal in local coordinates.
int SideNode(int side, int node) const
Returns relative node index for a side vertex.
RVector GlobalShapeF(const NodeList &nlist, const Point &glob) const
Returns the values of the shape functions at a global point.
Definition: vox27.h:78
RDenseMatrix GlobalShapeD(const NodeList &nlist, const Point &glob) const
Returns the values of the shape function derivatives at a global point.
Definition: vox27.h:80
RSymMatrix IntFF() const
Integrals of all products of two shape functions over the element.
Definition: vox27.h:87
RSymMatrix IntDD() const
Integrals of all products of two shape function derivatives over the element.
Definition: vox27.h:93
double IntFDD(int i, int j, int k) const
Integral of a product of a shape function and two shape function derivatives over the element...
Definition: vox27.h:95
Point Local(const NodeList &nlist, const Point &glob) const
Maps a point from global to local element coordinates.
Definition: vox27.h:62
int nNode() const
Returns the number of nodes associated with the element.
Definition: vox27.h:55
double IntFd(int i, int j, int k) const
Integral of the product of a shape function and a partial shape function derivative over the element...