COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Classes | Macros | Typedefs | Functions
utest-connectivity-data.cpp File Reference
#include <boost/assign/list_of.hpp>
#include <boost/test/unit_test.hpp>
#include "common/Log.hpp"
#include "common/Core.hpp"
#include "common/FindComponents.hpp"
#include "mesh/Mesh.hpp"
#include "mesh/Region.hpp"
#include "mesh/Elements.hpp"
#include "common/Table.hpp"
#include "mesh/MeshReader.hpp"
#include "mesh/MeshWriter.hpp"
#include "mesh/ConnectivityData.hpp"
#include "Tools/Testing/Difference.hpp"
#include "Tools/MeshGeneration/MeshGeneration.hpp"
#include "Tools/Testing/ProfiledTestFixture.hpp"
#include "Tools/Testing/TimedTestFixture.hpp"

Go to the source code of this file.

Classes

struct  ConnectivityFixture
 Fixture providing a simple mesh read from a .neu file. Unprofiled. More...
 
struct  ProfiledFixture
 Profile and time tests using this fixture. More...
 

Macros

#define BOOST_TEST_DYN_LINK
 
#define BOOST_TEST_MODULE   "Test module for ConnectivityData"
 

Typedefs

typedef MeshSourceGlobalFixture< 1000 > MeshSource
 Define the global fixture type. More...
 

Functions

void print_connectivity (const Component &root, const bool print_empty=true)
 Print out the connectivity information. More...
 
 BOOST_FIXTURE_TEST_CASE (CreateElementVector, ConnectivityFixture)
 
 BOOST_FIXTURE_TEST_CASE (CreateNodeElementLink, ConnectivityFixture)
 
 BOOST_FIXTURE_TEST_CASE (CreateFaceConnectivity, ConnectivityFixture)
 
 BOOST_FIXTURE_TEST_CASE (CreateVolumeToVolumeConnectivity, ConnectivityFixture)
 Internal connectivity between all volume cells of the mesh. More...
 
 BOOST_FIXTURE_TEST_CASE (CreateSurfaceToVolumeConnectivity, ConnectivityFixture)
 For all surface elements, look up their adjacent volume element. More...
 
 BOOST_FIXTURE_TEST_CASE (CreateVolumeToSurfaceConnectivity, ConnectivityFixture)
 For all volume elements, look up their adjacent surface element, if any. More...
 
 BOOST_FIXTURE_TEST_CASE (CreateSurfaceToVolumeConnectivity3D, ConnectivityFixture)
 For all surface elements, look up their adjacent volume element. More...
 

Macro Definition Documentation

#define BOOST_TEST_DYN_LINK

Definition at line 7 of file utest-connectivity-data.cpp.

#define BOOST_TEST_MODULE   "Test module for ConnectivityData"

Definition at line 8 of file utest-connectivity-data.cpp.

Typedef Documentation

Define the global fixture type.

Definition at line 40 of file utest-connectivity-data.cpp.

Function Documentation

BOOST_FIXTURE_TEST_CASE ( CreateElementVector  ,
ConnectivityFixture   
)

Definition at line 111 of file utest-connectivity-data.cpp.

BOOST_FIXTURE_TEST_CASE ( CreateNodeElementLink  ,
ConnectivityFixture   
)

Definition at line 123 of file utest-connectivity-data.cpp.

BOOST_FIXTURE_TEST_CASE ( CreateFaceConnectivity  ,
ConnectivityFixture   
)

Definition at line 159 of file utest-connectivity-data.cpp.

BOOST_FIXTURE_TEST_CASE ( CreateVolumeToVolumeConnectivity  ,
ConnectivityFixture   
)

Internal connectivity between all volume cells of the mesh.

Definition at line 248 of file utest-connectivity-data.cpp.

BOOST_FIXTURE_TEST_CASE ( CreateSurfaceToVolumeConnectivity  ,
ConnectivityFixture   
)

For all surface elements, look up their adjacent volume element.

Definition at line 265 of file utest-connectivity-data.cpp.

BOOST_FIXTURE_TEST_CASE ( CreateVolumeToSurfaceConnectivity  ,
ConnectivityFixture   
)

For all volume elements, look up their adjacent surface element, if any.

Definition at line 283 of file utest-connectivity-data.cpp.

BOOST_FIXTURE_TEST_CASE ( CreateSurfaceToVolumeConnectivity3D  ,
ConnectivityFixture   
)

For all surface elements, look up their adjacent volume element.

Definition at line 301 of file utest-connectivity-data.cpp.

void print_connectivity ( const Component root,
const bool  print_empty = true 
)

Print out the connectivity information.

Definition at line 74 of file utest-connectivity-data.cpp.

Send comments to:
COOLFluiD Web Admin