27#ifndef OOMPH_TLINEAR_ELASTICITY_ELEMENTS_HEADER
28#define OOMPH_TLINEAR_ELASTICITY_ELEMENTS_HEADER
33#include <oomph-lib-config.h>
61 template<
unsigned DIM,
unsigned NNODE_1D>
63 :
public virtual TElement<DIM, NNODE_1D>,
147 std::ostringstream error_message;
148 error_message <<
"The flux vector has the wrong number of entries, "
165 for (
unsigned i = 0;
i <
DIM;
i++)
172 for (
unsigned i = 0;
i <
DIM;
i++)
174 for (
unsigned j =
i + 1;
j <
DIM;
j++)
189 template<
unsigned DIM,
unsigned NNODE_1D>
191 :
public virtual TElement<DIM - 1, NNODE_1D>
202 template<
unsigned NNODE_1D>
Base class for finite elements that can compute the quantities that are required for the Z2 error est...
FaceGeometry()
Constructor: Call the constructor for the appropriate lower-dimensional TElement.
FaceGeometry()
Constructor: Call the constructor for the appropriate lower-dimensional QElement.
FaceGeometry class definition: This policy class is used to allow construction of face elements that ...
double size() const
Calculate the size of the element (length, area, volume,...) in Eulerian computational coordinates....
void get_strain(const Vector< double > &s, DenseMatrix< double > &strain) const
Return the strain tensor.
A class for elements that solve the equations of linear elasticity in cartesian coordinates.
void output(std::ostream &outfile)
Output: x,y,[z],u,v,[w].
Nodes are derived from Data, but, in addition, have a definite (Eulerian) position in a space of a gi...
An OomphLibError object which should be thrown when an run-time error is encountered....
Point element has just a single node and a single shape function which is identically equal to one.
TAdvectionDiffusionReactionElement<NREAGENT,DIM,NNODE_1D> elements are isoparametric triangular DIM-d...
TLinearElasticityElement<DIM,NNODE_1D> elements are isoparametric triangular DIM-dimensional LinearEl...
unsigned num_Z2_flux_terms()
Number of 'flux' terms for Z2 error estimation.
Node * vertex_node_pt(const unsigned &j) const
Pointer to the j-th vertex node in the element.
unsigned nvertex_node() const
Number of vertex nodes in the element.
unsigned nrecovery_order()
Order of recovery shape functions for Z2 error estimation: Same order as shape functions.
void get_Z2_flux(const Vector< double > &s, Vector< double > &flux)
Get 'flux' for Z2 error recovery: Upper triangular entries in strain tensor.
TLinearElasticityElement(const TLinearElasticityElement< DIM, NNODE_1D > &dummy)=delete
Broken copy constructor.
void output(std::ostream &outfile)
Broken assignment operator.
void output(FILE *file_pt, const unsigned &n_plot)
C-style output function:
void output(std::ostream &outfile, const unsigned &nplot)
Output function:
void output(FILE *file_pt)
C-style output function:
TLinearElasticityElement()
Constructor: Call constructors for TElement and LinearElasticity equations.
DRAIG: Change all instances of (SPATIAL_DIM) to (DIM-1).