53 inline unsigned long GetCaps()
const {
return 0; }
54 inline int nNode()
const {
return 4; }
55 inline int nSide()
const {
return 4; }
57 int SideNode (
int side,
int node)
const;
62 {
return Local (glob); }
82 double IntF (
int i)
const;
84 double IntFF (
int i,
int j)
const;
88 double IntFFF (
int i,
int j,
int k)
const;
94 double IntDD (
int i,
int j)
const;
96 double IntFDD (
int i,
int j,
int k)
const;
102 for (
int i = 0; i < 4; i++)
103 for (
int j = 0; j < 4; j++)
112 double IntFd (
int i,
int j,
int k)
const;
114 double IntFdd (
int i,
int j,
int k,
int l,
int m)
const;
116 double IntPdd (
const RVector &p,
int j,
int k,
int l,
int m)
const;
119 double IntFfd (
int i,
int j,
int k,
int l)
const;
121 double IntPfd(
const RVector &p,
int j,
int k,
int l)
const;
131 int GlobalIntersection (
const NodeList &nlist,
const Point &p1,
133 { ERROR_UNDEF;
return 0; }
135 { ERROR_UNDEF;
return 0; }
138 void ComputeIntFF ()
const;
139 void ComputeIntDD ()
const;
140 void ComputeIntFDD ()
const;
141 void ComputeBndIntFF ()
const;
142 void ComputeBndIntFFF ()
const;
int nSide() const
Returns the number of element sides.
Definition: pix4.h:55
RSymMatrix BndIntPFF(const RVector &P) const
Surface integrals of all products of a nodal function and two shape functions over all boundary sides...
Definition: pix4.h:127
Templated vector class.
Definition: vector.h:39
int nNode() const
Returns the number of nodes associated with the element.
Definition: pix4.h:54
virtual RSymMatrix IntFF() const =0
Integrals of all products of two shape functions over the element.
virtual 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...
Definition: element.h:850
unsigned long GetCaps() const
Returns element capability flags.
Definition: pix4.h:53
RVector DirectionCosine(int side, RDenseMatrix &jacin)
Returns the direction cosines of a side normal.
Definition: pix4.h:66
RVector GlobalShapeF(const NodeList &nlist, const Point &glob) const
Returns the values of the shape functions at a global point.
Definition: pix4.h:77
virtual bool GContains(const Point &glob, const NodeList &nlist) const
Checks if a global point coordinate is inside the element.
virtual double Size() const =0
Returns the element size.
virtual RVector GlobalShapeF(const NodeList &nlist, const Point &glob) const
Returns the values of the shape functions at a global point.
Definition: element.h:490
virtual double IntFFF(int i, int j, int k) const =0
Integral of a product of three shape functions over the element.
virtual double BndIntFFSide(int i, int j, int sd)=0
Surface integral of a product of two shape functions over one of the sides of the element...
virtual RDenseMatrix LocalShapeD(const Point &loc) const =0
Returns the values of the shape function derivatives at a local point.
virtual 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...
Definition: element.h:810
virtual const RVector & LNormal(int side) const =0
Returns a side normal in local coordinates.
virtual RSymMatrix IntPFF(const RVector &P) const =0
Integrals of all products of two shape functions and a nodal function over the element.
virtual RDenseMatrix GlobalShapeD(const NodeList &nlist, const Point &glob) const
Returns the values of the shape function derivatives at a global point.
Definition: element.h:502
#define ELID_PIX4
4-noded regular pixel
Definition: element.h:44
virtual RSymMatrix BndIntFF() const =0
Boundary integral of all products of two shape functions over all boundary sides of the element...
virtual RSymMatrix BndIntPFF(const RVector &P) const =0
Surface integrals of all products of a nodal function and two shape functions over all boundary sides...
RDenseMatrix GlobalShapeD(const NodeList &nlist, const Point &glob) const
Returns the values of the shape function derivatives at a global point.
Definition: pix4.h:79
virtual int nNode() const =0
Returns the number of nodes associated with the element.
Base class for finite element types.
Definition: element.h:84
RSymMatrix IntPDD(const RVector &P) const
All integrals of products of a nodal function and two shape function derivatives over the element...
Definition: pix4.h:100
virtual RSymMatrix IntPDD(const RVector &P) const =0
All integrals of products of a nodal function and two shape function derivatives over the element...
virtual double IntF(int i) const =0
Integral of a shape function over the element.
BYTE VtkType() const
Returns the VTK element type identifier, or 0 if the element doesn't have a VTK representation.
Definition: pix4.h:52
virtual void Initialise(const NodeList &nlist)
Element initialisation.
virtual RVector LocalShapeF(const Point &loc) const =0
Returns the values of the shape functions at a local point.
virtual RSymMatrix Intdd() const
Integral of the product of two partial shape function derivatives over the element.
Definition: element.h:836
BYTE Type() const
Returns an element type identifier.
Definition: pix4.h:51
virtual Element * Copy()=0
Create a copy of the element and return a pointer to it.
Dense matrix class.
Definition: crmatrix.h:38
int nSideNode(int) const
Returns the number of vertices associated with a side.
Definition: pix4.h:56
virtual Point Local(const NodeList &nlist, const Point &glob) const =0
Maps a point from global to local element coordinates.
virtual double IntFDD(int i, int j, int k) const =0
Integral of a product of a shape function and two shape function derivatives over the element...
virtual Point NodeLocal(int node) const =0
Returns the local coordinates of an element node.
Base class for all 2-D structured element types.
Definition: element.h:1188
virtual int SideNode(int side, int node) const =0
Returns relative node index for a side vertex.
virtual RSymMatrix IntDD() const =0
Integrals of all products of two shape function derivatives over the element.
Point Local(const NodeList &nlist, const Point &glob) const
Maps a point from global to local element coordinates.
Definition: pix4.h:61
virtual bool LContains(const Point &loc, bool pad=true) const =0
Checks if a local point coordinate is inside the element.