27 #ifndef OOMPH_TAXISYM_LINEAR_ELASTICITY_ELEMENTS_HEADER
28 #define OOMPH_TAXISYM_LINEAR_ELASTICITY_ELEMENTS_HEADER
33 #include <oomph-lib-config.h>
38 #include "../generic/nodes.h"
39 #include "../generic/oomph_utilities.h"
40 #include "../generic/Telements.h"
42 #include "../generic/error_estimator.h"
61 template<
unsigned NNODE_1D>
63 :
public virtual TElement<2, NNODE_1D>,
91 void output(std::ostream& outfile,
const unsigned& nplot)
104 void output(FILE* file_pt,
const unsigned& n_plot)
139 unsigned num_entries = 6;
140 if (
flux.size() != num_entries)
142 std::ostringstream error_message;
143 error_message <<
"The flux vector has the wrong number of entries, "
144 <<
flux.size() <<
", whereas it should be " << num_entries
160 for (
unsigned i = 0;
i < 3;
i++)
162 flux[icount] = strain(
i,
i);
167 for (
unsigned i = 0;
i < 3;
i++)
169 for (
unsigned j =
i + 1;
j < 3;
j++)
171 flux[icount] = strain(
i,
j);
183 template<
unsigned NNODE_1D>
185 :
public virtual TElement<1, NNODE_1D>
int i
Definition: BiCGSTAB_step_by_step.cpp:9
Definition: axisym_linear_elasticity_elements.h:434
void get_strain(const Vector< double > &s, DenseMatrix< double > &strain)
Get strain (3x3 entries; r, z, phi)
Definition: axisym_linear_elasticity_elements.cc:55
void output(std::ostream &outfile)
Output: r,z, u_r, u_z, u_theta.
Definition: axisym_linear_elasticity_elements.h:483
Definition: error_estimator.h:79
FaceGeometry()
Definition: Taxisym_linear_elasticity_elements.h:190
Definition: elements.h:4998
Definition: oomph_definitions.h:222
Definition: Taxisym_linear_elasticity_elements.h:66
unsigned nrecovery_order()
Definition: Taxisym_linear_elasticity_elements.h:123
TAxisymmetricLinearElasticityElement(const TAxisymmetricLinearElasticityElement< NNODE_1D > &dummy)=delete
Broken copy constructor.
TAxisymmetricLinearElasticityElement()
Definition: Taxisym_linear_elasticity_elements.h:70
unsigned nvertex_node() const
Number of vertex nodes in the element.
Definition: Taxisym_linear_elasticity_elements.h:110
void output(std::ostream &outfile)
Output function:
Definition: Taxisym_linear_elasticity_elements.h:85
void output(FILE *file_pt, const unsigned &n_plot)
C-style output function:
Definition: Taxisym_linear_elasticity_elements.h:104
void output(FILE *file_pt)
C-style output function:
Definition: Taxisym_linear_elasticity_elements.h:98
unsigned num_Z2_flux_terms()
Number of 'flux' terms for Z2 error estimation.
Definition: Taxisym_linear_elasticity_elements.h:129
void operator=(const TAxisymmetricLinearElasticityElement< NNODE_1D > &)=delete
Broken assignment operator.
void output(std::ostream &outfile, const unsigned &nplot)
Output function:
Definition: Taxisym_linear_elasticity_elements.h:91
Node * vertex_node_pt(const unsigned &j) const
Pointer to the j-th vertex node in the element.
Definition: Taxisym_linear_elasticity_elements.h:116
void get_Z2_flux(const Vector< double > &s, Vector< double > &flux)
Definition: Taxisym_linear_elasticity_elements.h:136
Definition: Telements.h:1208
RealScalar s
Definition: level1_cplx_impl.h:130
void flux(const double &time, const Vector< double > &x, double &flux)
Get flux applied along boundary x=0.
Definition: pretend_melt.cc:59
DRAIG: Change all instances of (SPATIAL_DIM) to (DIM-1).
Definition: AnisotropicHookean.h:10
#define OOMPH_EXCEPTION_LOCATION
Definition: oomph_definitions.h:61
#define OOMPH_CURRENT_FUNCTION
Definition: oomph_definitions.h:86
std::ptrdiff_t j
Definition: tut_arithmetic_redux_minmax.cpp:2