COOLFluiD
Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
|
#include <boost/mpl/vector.hpp>
#include <boost/mpl/for_each.hpp>
#include <boost/mpl/transform_view.hpp>
#include <boost/assign/list_of.hpp>
#include <boost/test/unit_test.hpp>
#include <boost/fusion/adapted/mpl.hpp>
#include <boost/fusion/support/pair.hpp>
#include <boost/fusion/container/map.hpp>
#include <boost/fusion/container/map/convert.hpp>
#include <boost/fusion/sequence/intrinsic/at_key.hpp>
#include "common/Log.hpp"
#include "common/OptionList.hpp"
#include "common/Core.hpp"
#include "common/Environment.hpp"
#include "common/FindComponents.hpp"
#include "mesh/GeoShape.hpp"
#include "mesh/ElementType.hpp"
#include "mesh/ElementTypes.hpp"
Go to the source code of this file.
Classes | |
struct | FunctorForDim< Dim > |
struct | FunctorForDim< 1 > |
struct | FunctorForDim< 2 > |
struct | FunctorForDim< 3 > |
struct | VolumeSFFixture |
struct | VolumeSFFixture::MakeSFNodesPair< SF > |
Functor to create a fusion pair between a shape function and its node matrix. More... | |
struct | VolumeSFFixture::VolumeMPLFunctor< FunctorT > |
Applies a functor if the element is a volume element. More... | |
struct | CheckJacobianDeterminant |
Checks if the jacobian_determinant function result is the same as det(jacobian) More... | |
struct | CheckJacobianInverse |
Checks if the inverse of the jacobian matrix equals jacobian_adjoint / jacobian_determinant. More... | |
struct | CheckGradientX |
Check if the gradient of X is one in the X direction and zero in the other directions. More... | |
Macros | |
#define | BOOST_TEST_DYN_LINK |
#define | BOOST_TEST_MODULE "Common tests for shape functions that can be used to model the volume of a mesh" |
Typedefs | |
typedef boost::mpl::vector< LagrangeP1::Line1D, LagrangeP1::Quad2D, LagrangeP1::Triag2D, LagrangeP1::Hexa3D, LagrangeP1::Tetra3D, LagrangeP2::Quad2D, LagrangeP2::Triag2D, LagrangeP3::Quad2D, LagrangeP3::Triag2D > | TestTypes |
typedef boost::mpl::filter_view< TestTypes, IsCellType > | TestCellTypes |
typedef boost::mpl::filter_view< TestTypes, IsFaceType > | TestFaceTypes |
typedef boost::mpl::filter_view< TestTypes, IsEdgeType > | TestEdgeTypes |
Functions | |
template<typename ETYPE , typename NodesT , typename MappedCoordsT > | |
ETYPE::CoordsT | gradient (const NodesT &nodes, const MappedCoordsT &mapped_coordinates, const RealVector &function_values) |
BOOST_AUTO_TEST_CASE (TestJacobianDeterminant) | |
BOOST_AUTO_TEST_CASE (TestJacobianInverse) | |
BOOST_AUTO_TEST_CASE (TestGradientX) | |
#define BOOST_TEST_DYN_LINK |
Definition at line 7 of file utest-volume-sf.cpp.
#define BOOST_TEST_MODULE "Common tests for shape functions that can be used to model the volume of a mesh" |
Definition at line 8 of file utest-volume-sf.cpp.
typedef boost::mpl::filter_view<TestTypes, IsCellType> TestCellTypes |
Definition at line 51 of file utest-volume-sf.cpp.
typedef boost::mpl::filter_view<TestTypes, IsEdgeType> TestEdgeTypes |
Definition at line 53 of file utest-volume-sf.cpp.
typedef boost::mpl::filter_view<TestTypes, IsFaceType> TestFaceTypes |
Definition at line 52 of file utest-volume-sf.cpp.
Definition at line 49 of file utest-volume-sf.cpp.
BOOST_AUTO_TEST_CASE | ( | TestJacobianDeterminant | ) |
Definition at line 344 of file utest-volume-sf.cpp.
BOOST_AUTO_TEST_CASE | ( | TestJacobianInverse | ) |
Definition at line 354 of file utest-volume-sf.cpp.
BOOST_AUTO_TEST_CASE | ( | TestGradientX | ) |
Definition at line 362 of file utest-volume-sf.cpp.
ETYPE::CoordsT gradient | ( | const NodesT & | nodes, |
const MappedCoordsT & | mapped_coordinates, | ||
const RealVector & | function_values | ||
) |
Calculates the gradient using the given shape function
nodes | The node coordinates for the element |
mapped_coordinates | Location where the gradient is to be calculated |
function_values | Nodal values of the function for which the gradient will be calculated |
Definition at line 264 of file utest-volume-sf.cpp.
Send comments to: COOLFluiD Web Admin |