![]() |
|
Domain for cylinder with flag as in Turek benchmark. More...
#include <cylinder_with_flag_domain.h>
Public Member Functions | |
CylinderWithFlagDomain (Circle *cylinder_pt, GeomObject *top_flag_pt, GeomObject *bottom_flag_pt, GeomObject *tip_flag_pt, const double &length, const double &height, const double &flag_length, const double &flag_height, const double ¢re_x, const double ¢re_y, const double &a) | |
~CylinderWithFlagDomain () | |
void | macro_element_boundary (const unsigned &time, const unsigned &m, const unsigned &direction, const Vector< double > &s, Vector< double > &f) |
Circle * | cylinder_pt () |
GeomObject *& | bottom_flag_pt () |
Access fct to GeomObjects for top, bottom and tip. More... | |
GeomObject *& | top_flag_pt () |
GeomObject *& | tip_flag_pt () |
![]() | |
Domain () | |
Constructor. More... | |
Domain (const Domain &)=delete | |
Broken copy constructor. More... | |
void | operator= (const Domain &)=delete |
Broken assignment operator. More... | |
virtual | ~Domain () |
MacroElement * | macro_element_pt (const unsigned &i) |
Access to i-th macro element. More... | |
unsigned | nmacro_element () |
Number of macro elements in domain. More... | |
void | output (const std::string &filename, const unsigned &nplot) |
Output macro elements. More... | |
void | output (std::ostream &outfile, const unsigned &nplot) |
Output macro elements. More... | |
virtual void | macro_element_boundary (const double &t, const unsigned &i_macro, const unsigned &i_direct, const Vector< double > &s, Vector< double > &f) |
void | macro_element_boundary (const unsigned &i_macro, const unsigned &i_direct, const Vector< double > &s, Vector< double > &f) |
void | output_macro_element_boundaries (const std::string &filename, const unsigned &nplot) |
Output all macro element boundaries as tecplot zones. More... | |
void | output_macro_element_boundaries (std::ostream &outfile, const unsigned &nplot) |
Output all macro element boundaries as tecplot zones. More... | |
virtual void | dmacro_element_boundary (const unsigned &t, const unsigned &i_macro, const unsigned &i_direct, const Vector< double > &s, Vector< double > &f) |
virtual void | dmacro_element_boundary (const double &t, const unsigned &i_macro, const unsigned &i_direct, const Vector< double > &s, Vector< double > &f) |
void | dmacro_element_boundary (const unsigned &i_macro, const unsigned &i_direct, const Vector< double > &s, Vector< double > &f) |
virtual void | d2macro_element_boundary (const unsigned &t, const unsigned &i_macro, const unsigned &i_direct, const Vector< double > &s, Vector< double > &f) |
virtual void | d2macro_element_boundary (const double &t, const unsigned &i_macro, const unsigned &i_direct, const Vector< double > &s, Vector< double > &f) |
void | d2macro_element_boundary (const unsigned &i_macro, const unsigned &i_direct, const Vector< double > &s, Vector< double > &f) |
Private Member Functions | |
void | linear_interpolate (const Vector< double > &left, const Vector< double > &right, const double &s, Vector< double > &f) |
Additional Inherited Members | |
![]() | |
Vector< MacroElement * > | Macro_element_pt |
Vector of pointers to macro elements. More... | |
Domain for cylinder with flag as in Turek benchmark.
oomph::CylinderWithFlagDomain::CylinderWithFlagDomain | ( | Circle * | cylinder_pt, |
GeomObject * | top_flag_pt, | ||
GeomObject * | bottom_flag_pt, | ||
GeomObject * | tip_flag_pt, | ||
const double & | length, | ||
const double & | height, | ||
const double & | flag_length, | ||
const double & | flag_height, | ||
const double & | centre_x, | ||
const double & | centre_y, | ||
const double & | a | ||
) |
Constructor. Pass the pointers to the GeomObjects that parametrise the cylinder, the three edges of the flag, the length and height of the domain, the length and height of the flag, the coordinates of the centre of the cylinder and its radius.
Constructor, Pass the pointers to the GeomObjects that parametrise the cylinder, the three edges of the flag, the length and height of the domain, the length and height of the flag, the coordinates of the centre of the cylinder and its radius.
References A, Centre_x, Centre_y, Global_Physical_Variables::height(), i, oomph::Domain::Macro_element_pt, p1, p10, p11, p12, p13, p14, p15, p16, p18, p2, p21, p22, p23, p24, p25, p27, p28, p29, p3, p30, p31, p33, p35, p36, p37, p38, p39, p4, p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p5, p50, p6, p7, p8, and p9.
|
inline |
|
inline |
Access fct to GeomObjects for top, bottom and tip.
References Bottom_flag_pt.
Referenced by oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::set_bottom_flag_pt().
|
inline |
Access fct to GeomObject (of type Circle) that represents the cylinder
References Cylinder_pt.
|
inlineprivate |
Helper function to interpolate linearly between the "right" and "left" points; \( s \in [-1,1] \)
Referenced by macro_element_boundary().
|
virtual |
Parametrisation of macro element boundaries: f(s) is the position vector to macro-element m's boundary in the specified direction [N/S/E/W] at the specfied discrete time level (time=0: present; time>0: previous)
Implements oomph::Domain.
References Eigen::bfloat16_impl::asin(), Eigen::bfloat16_impl::atan(), Bottom_flag_pt, Cylinder_pt, Global_Physical_Variables::E, f(), linear_interpolate(), Lx, Ly, m, N, OOMPH_CURRENT_FUNCTION, OOMPH_EXCEPTION_LOCATION, p1, p10, p11, p12, p13, p14, p15, p16, p18, p2, p21, p22, p23, p24, p25, p27, p28, p29, p3, p30, p31, p33, p35, p36, p37, p38, p39, p4, p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p5, p50, p6, p7, p8, p9, oomph::Circle::position(), oomph::GeomObject::position(), s, oomph::QuadTreeNames::S, Tip_flag_pt, Top_flag_pt, oomph::QuadTreeNames::W, and Eigen::zeta().
|
inline |
References Tip_flag_pt.
Referenced by oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::set_tip_flag_pt().
|
inline |
References Top_flag_pt.
Referenced by oomph::AlgebraicCylinderWithFlagMesh< ELEMENT >::set_top_flag_pt().
|
private |
Referenced by CylinderWithFlagDomain().
|
private |
Pointer to geometric object that represents the bottom of the flag.
Referenced by bottom_flag_pt(), and macro_element_boundary().
|
private |
Referenced by CylinderWithFlagDomain().
|
private |
Referenced by CylinderWithFlagDomain().
|
private |
Pointer to geometric object that represents the central cylinder.
Referenced by cylinder_pt(), and macro_element_boundary().
|
private |
Referenced by macro_element_boundary().
|
private |
Referenced by macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
Referenced by CylinderWithFlagDomain(), and macro_element_boundary().
|
private |
Pointer to geometric object that represents the tip of the flag.
Referenced by macro_element_boundary(), and tip_flag_pt().
|
private |
Pointer to geometric object that represents the top of the flag.
Referenced by macro_element_boundary(), and top_flag_pt().