t_faces_2d.cc File Reference
#include "generic.h"
#include "poisson.h"
#include "meshes/simple_rectangular_tri_mesh.h"

Classes

class  TriangleFaceTestProblem< ELEMENT >
 TriangleFaceTest problem. More...
 
class  FileStem< ELEMENT >
 

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 TriangleFaceTest problem. More...
 

Function Documentation

◆ main()

int main ( int argc  ,
char argv[] 
)

Demonstrate how to solve TriangleFaceTest problem.

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

329 {
330  unsigned h_power = 3;
331 
332  {
333  cout << "Linear elements " << std::endl;
334  cout << "================" << std::endl << std::endl;
335  //Set up the problem
337  //Permuted version
338  TriangleFaceTestProblem<TPoissonElement<2,2> > problem2(h_power,true);
339  }
340 
341  {
342  cout << "Quadratic elements " << std::endl;
343  cout << "==================" << std::endl << std::endl;
344  //Set up the problem
346  //Permuted version
347  TriangleFaceTestProblem<TPoissonElement<2,3> > problem2(h_power,true);
348  }
349 
350  {
351  cout << "Cubic elements " << std::endl;
352  cout << "================" << std::endl << std::endl;
353  //Set up the problem
355  //Permuted version
356  TriangleFaceTestProblem<TPoissonElement<2,4> > problem2(h_power,true);
357  }
358 
359 }
TriangleFaceTest problem.
Definition: t_faces_2d.cc:129
Constructor for SteadyAxisymAdvectionDiffusion problem
Definition: steady_axisym_advection_diffusion.cc:213

References problem.