q_faces_2d.cc File Reference
#include "generic.h"
#include "poisson.h"
#include "meshes/simple_rectangular_quadmesh.h"

Classes

class  FileStem< ELEMENT >
 
class  QFaceTestProblem< ELEMENT >
 QFaceTest problem. More...
 

Namespaces

 MeshDeformation
 Namespace for the functions associated with the mesh deformation.
 

Functions

void MeshDeformation::deform_mesh (Mesh *const &mesh_pt)
 Deform the cubic mesh so that its six sides are all parabolic. More...
 
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. More...
 
int main (int argc, char *argv[])
 Demonstrate how to solve QFaceTest problem. More...
 

Function Documentation

◆ main()

int main ( int argc  ,
char argv[] 
)

Demonstrate how to solve QFaceTest problem.

///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////

269 {
270  //Let's choose a reasonable level of refinement
271  unsigned h_power = 3;
272 
273  {
274  cout << "Linear elements " << std::endl;
275  cout << "================" << std::endl << std::endl;
276  //Set up the problem
278  }
279 
280  {
281  cout << "Quadratic elements " << std::endl;
282  cout << "==================" << std::endl << std::endl;
283  //Set up the problem
285  }
286 
287  {
288  cout << "Cubic elements " << std::endl;
289  cout << "================" << std::endl << std::endl;
290  //Set up the problem
292  }
293 
294 }
QFaceTest problem.
Definition: q_faces_2d.cc:141
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213

References problem.