31 #ifndef OOMPH_TWOMERSLEY_ELEMENTS_HEADER 32 #define OOMPH_TWOMERSLEY_ELEMENTS_HEADER 37 #include <oomph-lib-config.h> 42 #include "../generic/nodes.h" 43 #include "../generic/oomph_utilities.h" 44 #include "../generic/Telements.h" 45 #include "../generic/error_estimator.h" 63 template <
unsigned DIM,
unsigned NNODE_1D>
106 void output(std::ostream &outfile,
const unsigned &n_plot)
119 void output(FILE* file_pt,
const unsigned &n_plot)
125 void output_fct(std::ostream &outfile,
const unsigned &n_plot,
135 void output_fct(std::ostream &outfile,
const unsigned &n_plot,
175 template<
unsigned DIM,
unsigned NNODE_1D>
188 for(
unsigned i=0;
i<NNODE_1D;
i++)
191 for(
unsigned j=0;j<DIM;j++)
193 dtestdx(
i,j) = dpsidx(
i,j);
208 template<
unsigned DIM,
unsigned NNODE_1D>
241 template<
unsigned DIM,
unsigned NNODE_1D>
243 public virtual TElement<DIM-1,NNODE_1D>
263 template<
unsigned NNODE_1D>
void broken_copy(const std::string &class_name)
Issue error message and terminate execution.
void output(FILE *file_pt, const unsigned &n_plot)
C-style output function: x,y,u or x,y,z,u at n_plot^DIM plot points.
virtual double dshape_eulerian_at_knot(const unsigned &ipt, Shape &psi, DShape &dpsidx) const
Return the geometric shape functions and also first derivatives w.r.t. global coordinates at the ipt-...
void operator=(const TWomersleyElement< DIM, NNODE_1D > &)
Broken assignment operator.
void output_fct(std::ostream &outfile, const unsigned &n_plot, const double &time, FiniteElement::UnsteadyExactSolutionFctPt exact_soln_pt)
Output function for a time-dependent exact solution. x,y,u_exact or x,y,z,u_exact at n_plot^DIM plot ...
void(* UnsteadyExactSolutionFctPt)(const double &, const Vector< double > &, Vector< double > &)
Function pointer for function that computes Vector-valued time-dependent function as ...
unsigned required_nvalue(const unsigned &n) const
Required # of `values' (pinned or dofs) at node n.
void output(std::ostream &outfile, const unsigned &n_plot)
Output function: x,y,u or x,y,z,u at n_plot^DIM plot points.
void(* SteadyExactSolutionFctPt)(const Vector< double > &, Vector< double > &)
Function pointer for function that computes vector-valued steady "exact solution" as ...
TWomersleyElement()
Constructor: Call constructors for TElement and Womersley equations.
double dshape_and_dtest_eulerian_womersley(const Vector< double > &s, Shape &psi, DShape &dpsidx, Shape &test, DShape &dtestdx) const
Shape, test functions & derivs. w.r.t. to global coords. Return Jacobian.
double dshape_and_dtest_eulerian_at_knot_womersley(const unsigned &ipt, Shape &psi, DShape &dpsidx, Shape &test, DShape &dtestdx) const
Shape/test functions and derivs w.r.t. to global coords at integration point ipt; return Jacobian of ...
double dshape_eulerian(const Vector< double > &s, Shape &psi, DShape &dpsidx) const
Compute the geometric shape functions and also first derivatives w.r.t. global coordinates at local c...
void output(std::ostream &outfile)
Output function: x,y,u or x,y,z,u.
FaceGeometry()
Constructor: Call the constructor for the appropriate lower-dimensional TElement. ...
static const unsigned Initial_Nvalue
Static array of ints to hold number of variables at nodes: Initial_Nvalue[n].
void output_fct(std::ostream &outfile, const unsigned &n_plot, FiniteElement::SteadyExactSolutionFctPt exact_soln_pt)
Output function for an exact solution: x,y,u_exact or x,y,z,u_exact at n_plot^DIM plot points...
void output_fct(std::ostream &outfile, const unsigned &nplot, FiniteElement::SteadyExactSolutionFctPt exact_soln_pt)
Output exact soln: x,y,u_exact or x,y,z,u_exact at nplot^DIM plot points.
FaceGeometry()
Constructor: Call the constructor for the appropriate lower-dimensional TElement. ...
void broken_assign(const std::string &class_name)
Issue error message and terminate execution.
void output(FILE *file_pt)
C-style output function: x,y,u or x,y,z,u.
void output(std::ostream &outfile)
Output with default number of plot points.
TWomersleyElement(const TWomersleyElement< DIM, NNODE_1D > &dummy)
Broken copy constructor.