48 const unsigned& imacro,
49 const unsigned& idirect,
53 using namespace OcTreeNames;
55 #ifdef WARN_ABOUT_SUBTLY_CHANGED_OOMPH_INTERFACES
58 "Order of function arguments has changed between versions 0.8 and 0.85",
59 "WarpedCubeDomain::macro_element_boundary(...)",
60 OOMPH_EXCEPTION_LOCATION);
68 else if (idirect ==
R)
72 else if (idirect ==
D)
76 else if (idirect ==
U)
80 else if (idirect ==
B)
84 else if (idirect ==
F)
90 std::ostringstream error_stream;
91 error_stream <<
"idirect is " << idirect <<
" not one of U, D, L, R, B, F"
95 error_stream.str(), OOMPH_CURRENT_FUNCTION, OOMPH_EXCEPTION_LOCATION);
213 double x = 0.5 * (1.0 + f_aux[0]);
214 double y = 0.5 * (1.0 + f_aux[1]);
215 double z = 0.5 * (1.0 + f_aux[2]);
216 f[0] = (1.0 + x) * cos(y + 0.5 * z);
217 f[1] = (2.0 + 3 * x) * sin(y + 0.5 * z);
218 f[2] = sin(z) + 0.1 * (x * x + y * y);
An OomphLibError object which should be thrown when an run-time error is encountered....
An OomphLibWarning object which should be created as a temporary object to issue a warning....
void r_U(const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
Up boundary face zeta .
void r_R(const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
Right boundary face zeta .
void macro_element_boundary(const unsigned &t, const unsigned &i_macro, const unsigned &i_direct, const Vector< double > &s, Vector< double > &f)
Vector representation of the i_macro-th macro element boundary i_direct (L/R/D/U/B/F) at time level t...
void r_F(const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
Front boundary face zeta .
void r_L(const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
Left boundary face zeta .
void r_D(const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
Down boundary face zeta .
void r_B(const unsigned &t, const Vector< double > &zeta, Vector< double > &f)
Back boundary face zeta .
void warp_it(Vector< double > &f)
Warp the unit cube.
//////////////////////////////////////////////////////////////////// ////////////////////////////////...