COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Classes | Macros | Typedefs | Functions
utest-mesh-lagrangep1-triag3d.cpp File Reference
#include <boost/assign/list_of.hpp>
#include <boost/test/unit_test.hpp>
#include "common/Log.hpp"
#include "math/Consts.hpp"
#include "math/Functions.hpp"
#include "common/Table.hpp"
#include "mesh/Integrators/Gauss.hpp"
#include "mesh/LagrangeP1/Triag3D.hpp"
#include "mesh/ElementData.hpp"
#include "Tools/Testing/Difference.hpp"

Go to the source code of this file.

Classes

struct  LagrangeP1Triag3DFixture
 
struct  LagrangeP1Triag3DFixture::ConstFunctor
 
struct  LagrangeP1Triag3DFixture::NormalVectorNorm
 Returns the norm of the normal vector to the curve or surface element (equal to tangent in the case of Line2D) More...
 
struct  LagrangeP1Triag3DFixture::ConstVectorField
 Returns the scalar product of a constant vector field and the local element normal. More...
 
struct  LagrangeP1Triag3DFixture::RotatingCylinderPressure
 

Macros

#define BOOST_TEST_DYN_LINK
 
#define BOOST_TEST_MODULE   "Test module for the ETYPE shapefunction"
 

Typedefs

typedef Triag3D ETYPE
 

Functions

template<typename ResultT , typename FunctorT >
void integrate_region (ResultT &result, FunctorT functor, const Table< Real > &coordinates, const Table< Uint > &connectivity)
 
template<typename ResultT , typename FunctorT , typename NodesT >
void integrate_element (ResultT &result, FunctorT functor, const NodesT &nodes)
 
 BOOST_AUTO_TEST_CASE (Area)
 
 BOOST_AUTO_TEST_CASE (ShapeFunction)
 
 BOOST_AUTO_TEST_CASE (MappedGradient)
 
 BOOST_AUTO_TEST_CASE (Jacobian)
 
 BOOST_AUTO_TEST_CASE (IntegrateConst)
 
 BOOST_AUTO_TEST_CASE (SurfaceIntegral)
 
 BOOST_AUTO_TEST_CASE (ArcIntegral)
 
 BOOST_AUTO_TEST_CASE (RotatingCylinder)
 Lift produced by a rotating cylinder. More...
 

Macro Definition Documentation

#define BOOST_TEST_DYN_LINK

Definition at line 7 of file utest-mesh-lagrangep1-triag3d.cpp.

#define BOOST_TEST_MODULE   "Test module for the ETYPE shapefunction"

Definition at line 8 of file utest-mesh-lagrangep1-triag3d.cpp.

Typedef Documentation

typedef Triag3D ETYPE

Definition at line 38 of file utest-mesh-lagrangep1-triag3d.cpp.

Function Documentation

BOOST_AUTO_TEST_CASE ( Area  )

Definition at line 279 of file utest-mesh-lagrangep1-triag3d.cpp.

BOOST_AUTO_TEST_CASE ( ShapeFunction  )

Definition at line 289 of file utest-mesh-lagrangep1-triag3d.cpp.

BOOST_AUTO_TEST_CASE ( MappedGradient  )

Definition at line 299 of file utest-mesh-lagrangep1-triag3d.cpp.

BOOST_AUTO_TEST_CASE ( Jacobian  )

Definition at line 315 of file utest-mesh-lagrangep1-triag3d.cpp.

BOOST_AUTO_TEST_CASE ( IntegrateConst  )

Definition at line 333 of file utest-mesh-lagrangep1-triag3d.cpp.

BOOST_AUTO_TEST_CASE ( SurfaceIntegral  )

Surface integrals can be done in 2D by making use of the normal vector to a curve. The components of this vector are the elements of the jacobian. For scalar functions, we need to integrate the function multiplied with the norm of the normal vector, for vector fields we integrate the scalar product of the function and the normal vector

Definition at line 349 of file utest-mesh-lagrangep1-triag3d.cpp.

BOOST_AUTO_TEST_CASE ( ArcIntegral  )

Definition at line 374 of file utest-mesh-lagrangep1-triag3d.cpp.

BOOST_AUTO_TEST_CASE ( RotatingCylinder  )

Lift produced by a rotating cylinder.

Definition at line 387 of file utest-mesh-lagrangep1-triag3d.cpp.

void integrate_element ( ResultT &  result,
FunctorT  functor,
const NodesT &  nodes 
)

Definition at line 265 of file utest-mesh-lagrangep1-triag3d.cpp.

void integrate_region ( ResultT &  result,
FunctorT  functor,
const Table< Real > &  coordinates,
const Table< Uint > &  connectivity 
)

Definition at line 252 of file utest-mesh-lagrangep1-triag3d.cpp.

Send comments to:
COOLFluiD Web Admin