COOLFluiD
Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
|
#include <boost/test/unit_test.hpp>
#include <boost/numeric/ublas/vector.hpp>
#include "common/EigenAssertions.hpp"
#include <Eigen/Dense>
#include "mesh/BlockMesh/BlockData.hpp"
#include "mesh/Elements.hpp"
#include "mesh/Region.hpp"
#include "mesh/Dictionary.hpp"
#include "Tools/MeshGeneration/MeshGeneration.hpp"
#include "Tools/Testing/TimedTestFixture.hpp"
Go to the source code of this file.
Classes | |
struct | VectorBenchmarkFixture |
Macros | |
#define | BOOST_TEST_DYN_LINK |
#define | BOOST_TEST_MODULE "Some benchmarkings for vector operations" |
Functions | |
template<typename VectorType > | |
void | centroid_2d (const Table< Uint >::ArrayT &connectivity, const Table< Real >::ArrayT &coords, VectorType c0, VectorType c1, VectorType c2, VectorType c3, VectorType &result) |
Calculates the centroid of all centroids over a set of quads. More... | |
template<typename VectorType > | |
void | centroid_3d (const Table< Uint >::ArrayT &connectivity, const Table< Real >::ArrayT &coords, VectorType c0, VectorType c1, VectorType c2, VectorType c3, VectorType c4, VectorType c5, VectorType c6, VectorType c7, VectorType &result) |
Calculates the centroid of all centroids over a set of hexahedra. More... | |
BOOST_FIXTURE_TEST_CASE (CreateMesh, VectorBenchmarkFixture) | |
BOOST_FIXTURE_TEST_CASE (RealVector2D, VectorBenchmarkFixture) | |
BOOST_FIXTURE_TEST_CASE (UblasVector2DStatic, VectorBenchmarkFixture) | |
BOOST_FIXTURE_TEST_CASE (UblasVector2DDynamic, VectorBenchmarkFixture) | |
BOOST_FIXTURE_TEST_CASE (RealVector3D, VectorBenchmarkFixture) | |
BOOST_FIXTURE_TEST_CASE (UblasVector3DStatic, VectorBenchmarkFixture) | |
BOOST_FIXTURE_TEST_CASE (UblasVector3DDynamic, VectorBenchmarkFixture) | |
BOOST_FIXTURE_TEST_CASE (EigenVector2DStatic, VectorBenchmarkFixture) | |
BOOST_FIXTURE_TEST_CASE (EigenVector2DDynamic, VectorBenchmarkFixture) | |
BOOST_FIXTURE_TEST_CASE (EigenVector3DStatic, VectorBenchmarkFixture) | |
BOOST_FIXTURE_TEST_CASE (EigenVector3DDynamic, VectorBenchmarkFixture) | |
#define BOOST_TEST_DYN_LINK |
Definition at line 7 of file utest-vector-benchmark.cpp.
#define BOOST_TEST_MODULE "Some benchmarkings for vector operations" |
Definition at line 8 of file utest-vector-benchmark.cpp.
BOOST_FIXTURE_TEST_CASE | ( | CreateMesh | , |
VectorBenchmarkFixture | |||
) |
Definition at line 127 of file utest-vector-benchmark.cpp.
BOOST_FIXTURE_TEST_CASE | ( | RealVector2D | , |
VectorBenchmarkFixture | |||
) |
Definition at line 138 of file utest-vector-benchmark.cpp.
BOOST_FIXTURE_TEST_CASE | ( | UblasVector2DStatic | , |
VectorBenchmarkFixture | |||
) |
Definition at line 152 of file utest-vector-benchmark.cpp.
BOOST_FIXTURE_TEST_CASE | ( | UblasVector2DDynamic | , |
VectorBenchmarkFixture | |||
) |
Definition at line 166 of file utest-vector-benchmark.cpp.
BOOST_FIXTURE_TEST_CASE | ( | RealVector3D | , |
VectorBenchmarkFixture | |||
) |
Definition at line 180 of file utest-vector-benchmark.cpp.
BOOST_FIXTURE_TEST_CASE | ( | UblasVector3DStatic | , |
VectorBenchmarkFixture | |||
) |
Definition at line 202 of file utest-vector-benchmark.cpp.
BOOST_FIXTURE_TEST_CASE | ( | UblasVector3DDynamic | , |
VectorBenchmarkFixture | |||
) |
Definition at line 224 of file utest-vector-benchmark.cpp.
BOOST_FIXTURE_TEST_CASE | ( | EigenVector2DStatic | , |
VectorBenchmarkFixture | |||
) |
Definition at line 246 of file utest-vector-benchmark.cpp.
BOOST_FIXTURE_TEST_CASE | ( | EigenVector2DDynamic | , |
VectorBenchmarkFixture | |||
) |
Definition at line 260 of file utest-vector-benchmark.cpp.
BOOST_FIXTURE_TEST_CASE | ( | EigenVector3DStatic | , |
VectorBenchmarkFixture | |||
) |
Definition at line 274 of file utest-vector-benchmark.cpp.
BOOST_FIXTURE_TEST_CASE | ( | EigenVector3DDynamic | , |
VectorBenchmarkFixture | |||
) |
Definition at line 296 of file utest-vector-benchmark.cpp.
void centroid_2d | ( | const Table< Uint >::ArrayT & | connectivity, |
const Table< Real >::ArrayT & | coords, | ||
VectorType | c0, | ||
VectorType | c1, | ||
VectorType | c2, | ||
VectorType | c3, | ||
VectorType & | result | ||
) |
Calculates the centroid of all centroids over a set of quads.
Definition at line 42 of file utest-vector-benchmark.cpp.
void centroid_3d | ( | const Table< Uint >::ArrayT & | connectivity, |
const Table< Real >::ArrayT & | coords, | ||
VectorType | c0, | ||
VectorType | c1, | ||
VectorType | c2, | ||
VectorType | c3, | ||
VectorType | c4, | ||
VectorType | c5, | ||
VectorType | c6, | ||
VectorType | c7, | ||
VectorType & | result | ||
) |
Calculates the centroid of all centroids over a set of hexahedra.
Definition at line 73 of file utest-vector-benchmark.cpp.
Send comments to: COOLFluiD Web Admin |