Public Member Functions | Protected Member Functions | Static Private Attributes | List of all members
oomph::BellShellElement< DIM, NNODE_1D > Class Template Reference

BellShellElement elements are with subparametric interpolation for the function. More...

Inheritance diagram for oomph::BellShellElement< DIM, NNODE_1D >:
oomph::MyShellEquations< DIM, NNODE_1D >

Public Member Functions

 BellShellElement ()
 Constructor: Call constructors for BellElement and Shell equations. More...
 
 BellShellElement (const BellShellElement< DIM, NNODE_1D > &dummy)
 Broken copy constructor. More...
 
unsigned required_nvalue (const unsigned &n) const
 Required # of `values' (pinned or dofs) at node n. More...
 
void output (std::ostream &outfile)
 Output function: x,y,u or x,y,z,u. More...
 
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. More...
 
void output (FILE *file_pt)
 C-style output function: x,y,u or x,y,z,u. More...
 
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. More...
 
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. More...
 
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 points (Calls the steady version) More...
 
- Public Member Functions inherited from oomph::MyShellEquations< DIM, NNODE_1D >
 MyShellEquations ()
 Constructor (must initialise the Source_fct_pt to null) More...
 
 MyShellEquations (const MyShellEquations &dummy)
 Broken copy constructor. More...
 
virtual unsigned u_index_shell () const
 Return the index at which the unknown value is stored. In derived multi-physics elements, this function should be overloaded to reflect the chosen storage scheme. Note that these equations require that the unknown is always stored at the same index at each node. More...
 
void output (std::ostream &outfile)
 Output with default number of plot points. More...
 
void output (std::ostream &outfile, const unsigned &n_plot)
 Output FE representation of soln: x,y,u or x,y,z,u at n_plot^DIM plot points. More...
 
void output (FILE *file_pt)
 C_style output with default number of plot points. More...
 
void output (FILE *file_pt, const unsigned &n_plot)
 C-style output FE representation of soln: x,y,u or x,y,z,u at n_plot^DIM plot points. More...
 
void output_fct (std::ostream &outfile, const unsigned &n_plot, FiniteElement::SteadyExactSolutionFctPt exact_soln_pt)
 Output exact soln: x,y,u_exact or x,y,z,u_exact at n_plot^DIM plot points. More...
 
void compute_error (std::ostream &outfile, FiniteElement::SteadyExactSolutionFctPt exact_soln_pt, double &error, double &norm)
 Get error against and norm of exact solution. More...
 
void compute_error (std::ostream &outfile, FiniteElement::UnsteadyExactSolutionFctPt exact_soln_pt, const double &time, double &error, double &norm)
 Dummy, time dependent error checker. More...
 
SourceFctPtsource_fct_pt ()
 Access function: Pointer to source function. More...
 
SourceFctPt source_fct_pt () const
 Access function: Pointer to source function. Const version. More...
 
SourceFctGradientPtsource_fct_gradient_pt ()
 Access function: Pointer to gradient of source function. More...
 
SourceFctGradientPt source_fct_gradient_pt () const
 Access function: Pointer to gradient source function. Const version. More...
 
GeomObject *& undeformed_midplane_pt ()
 Access function: Undeformed shell. More...
 
virtual void get_source_function (const unsigned &ipt, const Vector< double > &x, const Vector< double > &unit_n, Vector< double > &source) const
 
void fill_in_contribution_to_residuals (Vector< double > &residuals)
 Add the element's contribution to its residual vector (wrapper) More...
 
Vector< double > interpolated_u_shell (const Vector< double > &s) const
 Return FE representation of unknown value u(s) at local coordinate s. More...
 
unsigned self_test ()
 Self-test: Return 0 for OK. More...
 

Protected Member Functions

double d2shape_and_d2test_eulerian_shell (const Vector< double > &s, Shape &psi, DShape &dpsidx, DShape &d2psidx, Shape &test, DShape &dtestdx, DShape &d2testdx) const
 Shape, test functions & derivs. w.r.t. to global coords. Return Jacobian. More...
 
double dshape_and_dtest_eulerian_shell (const Vector< double > &s, Shape &psi, DShape &dpsidx, Shape &test, DShape &dtestdx) const
 
double d2shape_and_d2test_eulerian_at_knot_shell (const unsigned &ipt, Shape &psi, DShape &dpsidx, DShape &d2psidx, Shape &test, DShape &dtestdx, DShape &d2testdx) const
 Shape, test functions & derivs. w.r.t. to global coords. at integration point ipt. Return Jacobian. More...
 
double dshape_and_dtest_eulerian_at_knot_shell (const unsigned &ipt, Shape &psi, DShape &dpsidx, Shape &test, DShape &dtestdx) const
 
- Protected Member Functions inherited from oomph::MyShellEquations< DIM, NNODE_1D >
virtual void fill_in_generic_residual_contribution_shell (Vector< double > &residuals, DenseMatrix< double > &jacobian, const unsigned &flag)
 Compute element residual Vector only (if flag=and/or element Jacobian matrix. More...
 

Static Private Attributes

static const unsigned Initial_Nvalue = 8
 Static int that holds the number of variables at nodes: always the same. More...
 

Additional Inherited Members

- Public Types inherited from oomph::MyShellEquations< DIM, NNODE_1D >
typedef void(* SourceFctPt) (const Vector< double > &x, const Vector< double > &unit_n, Vector< double > &f)
 Function pointer to source function fct(x,f(x)) – x is a Vector! More...
 
typedef void(* SourceFctGradientPt) (const Vector< double > &x, Vector< double > &gradient)
 Function pointer to gradient of source function fct(x,g(x)) – x is a Vector! More...
 
- Protected Attributes inherited from oomph::MyShellEquations< DIM, NNODE_1D >
SourceFctPt Source_fct_pt
 Pointer to source function: More...
 
SourceFctGradientPt Source_fct_gradient_pt
 Pointer to gradient of source function. More...
 
GeomObject * Undeformed_midplane_pt
 Pointer to undeformed beam: More...
 
double * Sigma0_pt
 Pointer to axial prestress. More...
 
double * H_pt
 Pointer to wall thickness. More...
 
double * Lambda_sq_pt
 Pointer to Timescale ratio. More...
 

Detailed Description

template<unsigned DIM, unsigned NNODE_1D>
class oomph::BellShellElement< DIM, NNODE_1D >

BellShellElement elements are with subparametric interpolation for the function.

Definition at line 407 of file unstructured_clamped_curved_shell.cc.

Constructor & Destructor Documentation

◆ BellShellElement() [1/2]

template<unsigned DIM, unsigned NNODE_1D>
oomph::BellShellElement< DIM, NNODE_1D >::BellShellElement ( )
inline

Constructor: Call constructors for BellElement and Shell equations.

Definition at line 421 of file unstructured_clamped_curved_shell.cc.

◆ BellShellElement() [2/2]

template<unsigned DIM, unsigned NNODE_1D>
oomph::BellShellElement< DIM, NNODE_1D >::BellShellElement ( const BellShellElement< DIM, NNODE_1D > &  dummy)
inline

Broken copy constructor.

Definition at line 425 of file unstructured_clamped_curved_shell.cc.

Member Function Documentation

◆ d2shape_and_d2test_eulerian_at_knot_shell()

template<unsigned DIM, unsigned NNODE_1D>
double oomph::BellShellElement< DIM, NNODE_1D >::d2shape_and_d2test_eulerian_at_knot_shell ( const unsigned &  ipt,
Shape &  psi,
DShape &  dpsidx,
DShape &  d2psidx,
Shape &  test,
DShape &  dtestdx,
DShape &  d2testdx 
) const
inlineprotectedvirtual

Shape, test functions & derivs. w.r.t. to global coords. at integration point ipt. Return Jacobian.

Implements oomph::MyShellEquations< DIM, NNODE_1D >.

Definition at line 603 of file unstructured_clamped_curved_shell.cc.

◆ d2shape_and_d2test_eulerian_shell()

template<unsigned DIM, unsigned NNODE_1D>
double oomph::BellShellElement< DIM, NNODE_1D >::d2shape_and_d2test_eulerian_shell ( const Vector< double > &  s,
Shape &  psi,
DShape &  dpsidx,
DShape &  d2psidx,
Shape &  test,
DShape &  dtestdx,
DShape &  d2testdx 
) const
inlineprotectedvirtual

Shape, test functions & derivs. w.r.t. to global coords. Return Jacobian.

Implements oomph::MyShellEquations< DIM, NNODE_1D >.

Definition at line 558 of file unstructured_clamped_curved_shell.cc.

◆ dshape_and_dtest_eulerian_at_knot_shell()

template<unsigned DIM, unsigned NNODE_1D>
double oomph::BellShellElement< DIM, NNODE_1D >::dshape_and_dtest_eulerian_at_knot_shell ( const unsigned &  ipt,
Shape &  psi,
DShape &  dpsidx,
Shape &  test,
DShape &  dtestdx 
) const
inlineprotectedvirtual

Define the shape functions and test functions and derivatives w.r.t. global coordinates and return Jacobian of mapping.

Galerkin: Test functions = shape functions

Implements oomph::MyShellEquations< DIM, NNODE_1D >.

Definition at line 589 of file unstructured_clamped_curved_shell.cc.

◆ dshape_and_dtest_eulerian_shell()

template<unsigned DIM, unsigned NNODE_1D>
double oomph::BellShellElement< DIM, NNODE_1D >::dshape_and_dtest_eulerian_shell ( const Vector< double > &  s,
Shape &  psi,
DShape &  dpsidx,
Shape &  test,
DShape &  dtestdx 
) const
inlineprotectedvirtual

Define the shape functions and test functions and derivatives w.r.t. global coordinates and return Jacobian of mapping.

Galerkin: Test functions = shape functions

Implements oomph::MyShellEquations< DIM, NNODE_1D >.

Definition at line 544 of file unstructured_clamped_curved_shell.cc.

◆ output() [1/4]

template<unsigned DIM, unsigned NNODE_1D>
void oomph::BellShellElement< DIM, NNODE_1D >::output ( std::ostream &  outfile)
inline

Output function: x,y,u or x,y,z,u.

Definition at line 438 of file unstructured_clamped_curved_shell.cc.

◆ output() [2/4]

template<unsigned DIM, unsigned NNODE_1D>
void oomph::BellShellElement< DIM, NNODE_1D >::output ( std::ostream &  outfile,
const unsigned &  n_plot 
)
inline

Output function: x,y,u or x,y,z,u at n_plot^DIM plot points.

Definition at line 444 of file unstructured_clamped_curved_shell.cc.

◆ output() [3/4]

template<unsigned DIM, unsigned NNODE_1D>
void oomph::BellShellElement< DIM, NNODE_1D >::output ( FILE *  file_pt)
inline

C-style output function: x,y,u or x,y,z,u.

Definition at line 450 of file unstructured_clamped_curved_shell.cc.

◆ output() [4/4]

template<unsigned DIM, unsigned NNODE_1D>
void oomph::BellShellElement< DIM, NNODE_1D >::output ( FILE *  file_pt,
const unsigned &  n_plot 
)
inline

C-style output function: x,y,u or x,y,z,u at n_plot^DIM plot points.

Definition at line 456 of file unstructured_clamped_curved_shell.cc.

◆ output_fct() [1/2]

template<unsigned DIM, unsigned NNODE_1D>
void oomph::BellShellElement< DIM, NNODE_1D >::output_fct ( std::ostream &  outfile,
const unsigned &  n_plot,
FiniteElement::SteadyExactSolutionFctPt  exact_soln_pt 
)
inline

Output function for an exact solution: x,y,u_exact or x,y,z,u_exact at n_plot^DIM plot points.

Definition at line 462 of file unstructured_clamped_curved_shell.cc.

◆ output_fct() [2/2]

template<unsigned DIM, unsigned NNODE_1D>
void oomph::BellShellElement< DIM, NNODE_1D >::output_fct ( std::ostream &  outfile,
const unsigned &  n_plot,
const double &  time,
FiniteElement::UnsteadyExactSolutionFctPt  exact_soln_pt 
)
inlinevirtual

Output function for a time-dependent exact solution. x,y,u_exact or x,y,z,u_exact at n_plot^DIM plot points (Calls the steady version)

Reimplemented from oomph::MyShellEquations< DIM, NNODE_1D >.

Definition at line 471 of file unstructured_clamped_curved_shell.cc.

◆ required_nvalue()

template<unsigned DIM, unsigned NNODE_1D>
unsigned oomph::BellShellElement< DIM, NNODE_1D >::required_nvalue ( const unsigned &  n) const
inline

Required # of `values' (pinned or dofs) at node n.

Definition at line 433 of file unstructured_clamped_curved_shell.cc.

Member Data Documentation

◆ Initial_Nvalue

template<unsigned DIM, unsigned NNODE_1D>
const unsigned oomph::BellShellElement< DIM, NNODE_1D >::Initial_Nvalue = 8
staticprivate

Static int that holds the number of variables at nodes: always the same.

Set the data for the number of Variables at each node.

Definition at line 414 of file unstructured_clamped_curved_shell.cc.


The documentation for this class was generated from the following file: