31 #ifndef OOMPH_TAXISYM_LINEAR_ELASTICITY_ELEMENTS_HEADER 32 #define OOMPH_TAXISYM_LINEAR_ELASTICITY_ELEMENTS_HEADER 37 #include <oomph-lib-config.h> 42 #include "../generic/nodes.h" 43 #include "../generic/oomph_utilities.h" 44 #include "../generic/Telements.h" 46 #include "../generic/error_estimator.h" 66 template <
unsigned NNODE_1D>
101 void output(std::ostream &outfile,
const unsigned &nplot)
114 void output(FILE* file_pt,
const unsigned &n_plot)
145 unsigned num_entries=6;
146 if (flux.size()!=num_entries)
148 std::ostringstream error_message;
149 error_message <<
"The flux vector has the wrong number of entries, " 150 << flux.size() <<
", whereas it should be " 151 << num_entries << std::endl;
154 OOMPH_CURRENT_FUNCTION,
155 OOMPH_EXCEPTION_LOCATION);
167 for(
unsigned i=0;
i<3;
i++)
169 flux[icount]=strain(
i,
i);
174 for(
unsigned i=0;
i<3;
i++)
176 for(
unsigned j=
i+1;j<3;j++)
178 flux[icount]=strain(
i,j);
191 template<
unsigned NNODE_1D>
void output(std::ostream &outfile)
Output function:
void broken_copy(const std::string &class_name)
Issue error message and terminate execution.
Base class for finite elements that can compute the quantities that are required for the Z2 error est...
void operator=(const TAxisymmetricLinearElasticityElement< NNODE_1D > &)
Broken assignment operator.
unsigned nrecovery_order()
Order of recovery shape functions for Z2 error estimation: Same order as shape functions.
TAxisymmetricLinearElasticityElement(const TAxisymmetricLinearElasticityElement< NNODE_1D > &dummy)
Broken copy constructor.
Node * vertex_node_pt(const unsigned &j) const
Pointer to the j-th vertex node in the element.
void get_strain(const Vector< double > &s, DenseMatrix< double > &strain)
Get strain (3x3 entries; r, z, phi)
void output(std::ostream &outfile)
Output: r,z, u_r, u_z, u_theta.
Nodes are derived from Data, but, in addition, have a definite (Eulerian) position in a space of a gi...
unsigned num_Z2_flux_terms()
Number of 'flux' terms for Z2 error estimation.
void output(FILE *file_pt)
C-style output function:
void get_Z2_flux(const Vector< double > &s, Vector< double > &flux)
Get 'flux' for Z2 error recovery: Upper triangular entries in strain tensor.
void output(FILE *file_pt, const unsigned &n_plot)
C-style output function:
TAxisymmetricLinearElasticityElement()
Constructor: Call constructors for TElement and AxisymmetricLinearElasticity equations.
unsigned nvertex_node() const
Number of vertex nodes in the element.
void broken_assign(const std::string &class_name)
Issue error message and terminate execution.
void output(std::ostream &outfile, const unsigned &nplot)
Output function:
FaceGeometry()
Constructor: Call the constructor for the appropriate lower-dimensional QElement. ...