COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Classes | Macros | Typedefs | Functions
utest-mesh-lagrangep1-quad3d.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/Quad3D.hpp"
#include "mesh/ElementData.hpp"
#include "Tools/Testing/Difference.hpp"

Go to the source code of this file.

Classes

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

Macros

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

Typedefs

typedef Quad3D ETYPE
 

Functions

template<typename ResultT , typename FunctorT >
void integrate_region (ResultT &result, FunctorT functor, const Table< Real > &coordinates, const Table< Uint > &connectivity)
 Integrate over a region. More...
 
template<typename ResultT , typename FunctorT , typename NodesT >
void integrate_element (ResultT &result, FunctorT functor, const NodesT &nodes)
 Integration over a single element. More...
 
 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-quad3d.cpp.

#define BOOST_TEST_MODULE   "Test module for the ETYPE shapefunction"

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

Typedef Documentation

typedef Quad3D ETYPE

Definition at line 39 of file utest-mesh-lagrangep1-quad3d.cpp.

Function Documentation

BOOST_AUTO_TEST_CASE ( Area  )

Definition at line 263 of file utest-mesh-lagrangep1-quad3d.cpp.

BOOST_AUTO_TEST_CASE ( ShapeFunction  )

Definition at line 274 of file utest-mesh-lagrangep1-quad3d.cpp.

BOOST_AUTO_TEST_CASE ( MappedGradient  )

Definition at line 284 of file utest-mesh-lagrangep1-quad3d.cpp.

BOOST_AUTO_TEST_CASE ( Jacobian  )

Definition at line 304 of file utest-mesh-lagrangep1-quad3d.cpp.

BOOST_AUTO_TEST_CASE ( IntegrateConst  )

Definition at line 322 of file utest-mesh-lagrangep1-quad3d.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 354 of file utest-mesh-lagrangep1-quad3d.cpp.

BOOST_AUTO_TEST_CASE ( ArcIntegral  )

Definition at line 379 of file utest-mesh-lagrangep1-quad3d.cpp.

BOOST_AUTO_TEST_CASE ( RotatingCylinder  )

Lift produced by a rotating cylinder.

Definition at line 392 of file utest-mesh-lagrangep1-quad3d.cpp.

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

Integration over a single element.

Definition at line 249 of file utest-mesh-lagrangep1-quad3d.cpp.

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

Integrate over a region.

Definition at line 236 of file utest-mesh-lagrangep1-quad3d.cpp.

Send comments to:
COOLFluiD Web Admin