![]() |
|
Namespace for the functions associated with the mesh deformation. More...
Functions | |
| void | deform_mesh (Mesh *const &mesh_pt) |
| Deform the cubic mesh so that its six sides are all parabolic. More... | |
| void | exact_normal (const unsigned &face, const Vector< double > &x, Vector< double > &n) |
| The exact normal vector for each face at global coordinate x. More... | |
Namespace for the functions associated with the mesh deformation.
Namespace for function that represents the exact (quadratically-varying) outer unit normal. and the function the deforms the mesh
Namespace for functions that deform the cubic mesh into a shape with parabolic sides.
| void MeshDeformation::deform_mesh | ( | Mesh *const & | mesh_pt | ) |
Deform the cubic mesh so that its six sides are all parabolic.
References n, oomph::Mesh::nnode(), oomph::Mesh::node_pt(), plotDoE::x, oomph::Node::x(), and y.
Referenced by QFaceTestProblem< ELEMENT >::QFaceTestProblem(), TFaceTestProblem< ELEMENT >::TFaceTestProblem(), and TriangleFaceTestProblem< ELEMENT >::TriangleFaceTestProblem().
| void MeshDeformation::exact_normal | ( | const unsigned & | face, |
| const Vector< double > & | x, | ||
| Vector< double > & | n | ||
| ) |
The exact normal vector for each face at global coordinate x.
The outer unit normal of the mesh boundaries that have been deformed into parabolas. The normal is different for each boundary, so the input arguments are the boundary and the global Cartesian coordinate on that boundary, x. The outer unit normal is returned in the vector n.
Return the exact normal on the given face of the cubic mesh N.B. This is slightly different than the case in q_faces_3d.cc because the faces are labelled differently (DOH).
References n, N, sqrt(), and plotDoE::x.
Referenced by QFaceTestProblem< ELEMENT >::QFaceTestProblem(), TFaceTestProblem< ELEMENT >::TFaceTestProblem(), and TriangleFaceTestProblem< ELEMENT >::TriangleFaceTestProblem().