27 #ifndef OOMPH_TFOEPPLVONKARMAN_ELEMENTS_HEADER
28 #define OOMPH_TFOEPPLVONKARMAN_ELEMENTS_HEADER
33 #include <oomph-lib-config.h>
38 #include "../generic/nodes.h"
39 #include "../generic/oomph_utilities.h"
40 #include "../generic/Telements.h"
41 #include "../generic/error_estimator.h"
60 template<
unsigned NNODE_1D>
97 void output(std::ostream& outfile,
const unsigned& n_plot)
113 void output(FILE* file_pt,
const unsigned& n_plot)
122 const unsigned& n_plot,
132 const unsigned& n_plot,
137 outfile, n_plot, time, exact_soln_pt);
162 return (NNODE_1D - 1);
204 template<
unsigned NNODE_1D>
212 unsigned n_node = this->nnode();
215 double J = this->dshape_eulerian(
s, psi, dpsidx);
219 for (
unsigned i = 0;
i < n_node;
i++)
222 dtestdx(
i, 0) = dpsidx(
i, 0);
223 dtestdx(
i, 1) = dpsidx(
i, 1);
237 template<
unsigned NNODE_1D>
239 NNODE_1D>::dshape_and_dtest_eulerian_at_knot_fvk(
const unsigned& ipt,
246 double J = this->dshape_eulerian_at_knot(ipt, psi, dpsidx);
263 template<
unsigned NNODE_1D>
265 :
public virtual TElement<1, NNODE_1D>
int i
Definition: BiCGSTAB_step_by_step.cpp:9
const unsigned n
Definition: CG3DPackingUnitTest.cpp:11
JacobiRotation< float > J
Definition: Jacobi_makeJacobi.cpp:3
Definition: error_estimator.h:79
FaceGeometry()
Definition: Tfoeppl_von_karman_elements.h:270
Definition: elements.h:4998
void(* SteadyExactSolutionFctPt)(const Vector< double > &, Vector< double > &)
Definition: elements.h:1759
void(* UnsteadyExactSolutionFctPt)(const double &, const Vector< double > &, Vector< double > &)
Definition: elements.h:1765
Definition: foeppl_von_karman_elements.h:57
void get_gradient_of_deflection(const Vector< double > &s, Vector< double > &gradient) const
Get gradient of deflection: gradient[i] = dw/dx_i.
Definition: foeppl_von_karman_elements.h:266
void output_fct(std::ostream &outfile, const unsigned &n_plot, FiniteElement::SteadyExactSolutionFctPt exact_soln_pt)
Output exact soln: x,y,w_exact at n_plot^DIM plot points.
Definition: foeppl_von_karman_elements.cc:496
void output(std::ostream &outfile)
Output with default number of plot points.
Definition: foeppl_von_karman_elements.h:137
Definition: Telements.h:1208
Definition: Tfoeppl_von_karman_elements.h:64
TFoepplvonKarmanElement()
Definition: Tfoeppl_von_karman_elements.h:68
unsigned required_nvalue(const unsigned &n) const
Definition: Tfoeppl_von_karman_elements.h:83
static const unsigned Initial_Nvalue
Static unsigned that holds the (same) number of variables at every node.
Definition: Tfoeppl_von_karman_elements.h:191
Node * vertex_node_pt(const unsigned &j) const
Pointer to the j-th vertex node in the element.
Definition: Tfoeppl_von_karman_elements.h:184
double dshape_and_dtest_eulerian_at_knot_fvk(const unsigned &ipt, Shape &psi, DShape &dpsidx, Shape &test, DShape &dtestdx) const
Definition: Tfoeppl_von_karman_elements.h:239
TFoepplvonKarmanElement(const TFoepplvonKarmanElement< NNODE_1D > &dummy)=delete
Broken copy constructor.
void output_fct(std::ostream &outfile, const unsigned &n_plot, const double &time, FiniteElement::UnsteadyExactSolutionFctPt exact_soln_pt)
Definition: Tfoeppl_von_karman_elements.h:131
unsigned nrecovery_order()
Definition: Tfoeppl_von_karman_elements.h:160
void operator=(const TFoepplvonKarmanElement< NNODE_1D > &)=delete
Broken assignment operator.
void output_fct(std::ostream &outfile, const unsigned &n_plot, FiniteElement::SteadyExactSolutionFctPt exact_soln_pt)
Definition: Tfoeppl_von_karman_elements.h:121
unsigned num_Z2_flux_terms()
Number of 'flux' terms for Z2 error estimation.
Definition: Tfoeppl_von_karman_elements.h:166
void get_Z2_flux(const Vector< double > &s, Vector< double > &flux)
Get 'flux' for Z2 error recovery: Standard flux.from FvK equations.
Definition: Tfoeppl_von_karman_elements.h:172
void output(std::ostream &outfile)
Definition: Tfoeppl_von_karman_elements.h:90
void output(std::ostream &outfile, const unsigned &n_plot)
Definition: Tfoeppl_von_karman_elements.h:97
void output(FILE *file_pt, const unsigned &n_plot)
Definition: Tfoeppl_von_karman_elements.h:113
void output(FILE *file_pt)
Definition: Tfoeppl_von_karman_elements.h:105
double dshape_and_dtest_eulerian_fvk(const Vector< double > &s, Shape &psi, DShape &dpsidx, Shape &test, DShape &dtestdx) const
Definition: Tfoeppl_von_karman_elements.h:205
unsigned nvertex_node() const
Number of vertex nodes in the element.
Definition: Tfoeppl_von_karman_elements.h:178
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
Definition: indexed_view.cpp:20
std::ptrdiff_t j
Definition: tut_arithmetic_redux_minmax.cpp:2