48 : Cylinder_pt(cylinder_pt),
49 Top_flag_pt(top_flag_pt),
50 Bottom_flag_pt(bottom_flag_pt),
51 Tip_flag_pt(tip_flag_pt),
103 p11[1] = 0.778024390 * height;
107 p12[1] = 0.778024390 * height;
111 p13[1] = 0.778024390 * height;
115 p14[1] = 0.778024390 * height;
119 p15[1] = 0.625 * height;
123 p16[1] = 0.625 * height;
135 p35[1] = 0.350609756 * height;
139 p36[1] = 0.350609756 * height;
143 p37[1] = 0.197585366 * height;
147 p38[1] = 0.197585366 * height;
151 p39[1] = 0.197585366 * height;
155 p40[1] = 0.197585366 * height;
214 for (
unsigned i = 0;
i < 31;
i++)
GeomObject * Tip_flag_pt
Pointer to geometric object that represents the tip of the flag.
void macro_element_boundary(const unsigned &time, const unsigned &m, const unsigned &direction, const Vector< double > &s, Vector< double > &f)
Parametrisation of macro element boundaries: f(s) is the position vector to macro-element m's boundar...
GeomObject * Top_flag_pt
Pointer to geometric object that represents the top of the flag.
void linear_interpolate(const Vector< double > &left, const Vector< double > &right, const double &s, Vector< double > &f)
Helper function to interpolate linearly between the "right" and "left" points; .
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)
Constructor. Pass the pointers to the GeomObjects that parametrise the cylinder, the three edges of t...
GeomObject * Bottom_flag_pt
Pointer to geometric object that represents the bottom of the flag.
Circle * Cylinder_pt
Pointer to geometric object that represents the central cylinder.
Vector< MacroElement * > Macro_element_pt
Vector of pointers to macro elements.