COOLFluiD
Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
|
#include <boost/accumulators/accumulators.hpp>
#include <boost/accumulators/statistics/stats.hpp>
#include <boost/accumulators/statistics/mean.hpp>
#include <boost/accumulators/statistics/max.hpp>
#include <boost/foreach.hpp>
#include <boost/test/unit_test.hpp>
#include <boost/proto/debug.hpp>
#include "solver/Model.hpp"
#include "solver/Solver.hpp"
#include "solver/actions/Proto/ElementGradDiv.hpp"
#include "solver/actions/Proto/ElementLooper.hpp"
#include "solver/actions/Proto/Expression.hpp"
#include "solver/actions/Proto/Functions.hpp"
#include "solver/actions/Proto/NodeLooper.hpp"
#include "solver/actions/Proto/Terminals.hpp"
#include "common/Core.hpp"
#include "common/Log.hpp"
#include "math/MatrixTypes.hpp"
#include "mesh/Domain.hpp"
#include "mesh/Mesh.hpp"
#include "mesh/Region.hpp"
#include "mesh/Elements.hpp"
#include "mesh/MeshReader.hpp"
#include "mesh/ElementData.hpp"
#include "mesh/FieldManager.hpp"
#include "mesh/Dictionary.hpp"
#include "mesh/Integrators/Gauss.hpp"
#include "mesh/ElementTypes.hpp"
#include "physics/PhysModel.hpp"
#include "Tools/MeshGeneration/MeshGeneration.hpp"
#include "Tools/Testing/TimedTestFixture.hpp"
#include "Tools/Testing/ProfiledTestFixture.hpp"
Go to the source code of this file.
Classes | |
struct | CustomLaplacian |
struct | CustomLaplacian::result< Signature > |
Custom ops must implement the TR1 result_of protocol. More... | |
struct | CustomLaplacian::result< This(FieldDataT)> |
struct | Counter |
Custom op that just modifies its argument. More... | |
struct | IntegralConstantTag |
struct | IntegralConstantGrammar< I > |
struct | MetricTensor |
struct | MetricTensor::result< Signature > |
Custom ops must implement the TR1 result_of protocol. More... | |
struct | MetricTensor::result< This(DataT)> |
Macros | |
#define | BOOST_TEST_DYN_LINK |
#define | BOOST_TEST_MODULE "Test module for proto operators" |
Typedefs | |
typedef boost::mpl::vector3< LagrangeP1::Line1D, LagrangeP1::Quad2D, LagrangeP1::Hexa3D > | HigherIntegrationElements |
List of all supported shapefunctions that allow high order integration. More... | |
typedef boost::mpl::vector5< LagrangeP1::Line1D, LagrangeP1::Triag2D, LagrangeP1::Quad2D, LagrangeP1::Hexa3D, LagrangeP1::Tetra3D > | VolumeTypes |
Functions | |
void | check_close (const RealMatrix2 &a, const RealMatrix2 &b, const Real threshold) |
Check close, for testing purposes. More... | |
BOOST_AUTO_TEST_CASE (ProtoBasics) | |
BOOST_AUTO_TEST_CASE (MatrixAccess) | |
BOOST_AUTO_TEST_CASE (MatrixProducts) | |
BOOST_AUTO_TEST_CASE (RotatingCylinder) | |
BOOST_AUTO_TEST_CASE (RotatingCylinderField) | |
First create a field with the pressure distribution, then integrate it. More... | |
BOOST_AUTO_TEST_CASE (CustomOp) | |
BOOST_AUTO_TEST_CASE (VoidOp) | |
Test a custom operator that modifies its arguments. More... | |
BOOST_AUTO_TEST_CASE (ElementGaussQuadrature) | |
BOOST_AUTO_TEST_CASE (GroupArity) | |
BOOST_AUTO_TEST_CASE (IntegralConstant) | |
Test if we can replace an expression with a tag using integral constants. More... | |
BOOST_AUTO_TEST_CASE (IndexLooper) | |
BOOST_AUTO_TEST_CASE (VectorMultiplication) | |
BOOST_AUTO_TEST_CASE (NodeExprGrouping) | |
BOOST_AUTO_TEST_CASE (NodeExprFunctionParsing) | |
BOOST_AUTO_TEST_CASE (ProtoAccumulators) | |
BOOST_AUTO_TEST_CASE (AssignMatrix) | |
BOOST_AUTO_TEST_CASE (GaussPointAccess) | |
BOOST_AUTO_TEST_CASE (RestrictToEtype) | |
BOOST_AUTO_TEST_CASE (AddElementValues) | |
BOOST_AUTO_TEST_CASE (NodeIndexLoop) | |
BOOST_AUTO_TEST_CASE (ElementVector) | |
BOOST_AUTO_TEST_CASE (Grad) | |
BOOST_AUTO_TEST_CASE (Div) | |
BOOST_AUTO_TEST_CASE (MetricTensorTest) | |
BOOST_AUTO_TEST_CASE (NodeIdxOutput) | |
Variables | |
static boost::proto::terminal< void(*)(const RealMatrix2 &, const RealMatrix2 &, Real) >::type const | _check_close = {&check_close} |
MakeSFOp< CustomLaplacian >::type | laplacian_cust = {} |
#define BOOST_TEST_DYN_LINK |
Definition at line 7 of file utest-proto-operators.cpp.
#define BOOST_TEST_MODULE "Test module for proto operators" |
Definition at line 8 of file utest-proto-operators.cpp.
typedef boost::mpl::vector3< LagrangeP1::Line1D, LagrangeP1::Quad2D, LagrangeP1::Hexa3D> HigherIntegrationElements |
List of all supported shapefunctions that allow high order integration.
Definition at line 77 of file utest-proto-operators.cpp.
typedef boost::mpl::vector5< LagrangeP1::Line1D, LagrangeP1::Triag2D, LagrangeP1::Quad2D, LagrangeP1::Hexa3D, LagrangeP1::Tetra3D> VolumeTypes |
Definition at line 84 of file utest-proto-operators.cpp.
BOOST_AUTO_TEST_CASE | ( | ProtoBasics | ) |
Definition at line 92 of file utest-proto-operators.cpp.
BOOST_AUTO_TEST_CASE | ( | MatrixAccess | ) |
Definition at line 121 of file utest-proto-operators.cpp.
BOOST_AUTO_TEST_CASE | ( | MatrixProducts | ) |
Definition at line 143 of file utest-proto-operators.cpp.
BOOST_AUTO_TEST_CASE | ( | RotatingCylinder | ) |
Definition at line 188 of file utest-proto-operators.cpp.
BOOST_AUTO_TEST_CASE | ( | RotatingCylinderField | ) |
First create a field with the pressure distribution, then integrate it.
Definition at line 221 of file utest-proto-operators.cpp.
BOOST_AUTO_TEST_CASE | ( | CustomOp | ) |
Definition at line 291 of file utest-proto-operators.cpp.
BOOST_AUTO_TEST_CASE | ( | VoidOp | ) |
Test a custom operator that modifies its arguments.
Definition at line 332 of file utest-proto-operators.cpp.
BOOST_AUTO_TEST_CASE | ( | ElementGaussQuadrature | ) |
Definition at line 354 of file utest-proto-operators.cpp.
BOOST_AUTO_TEST_CASE | ( | GroupArity | ) |
Definition at line 400 of file utest-proto-operators.cpp.
BOOST_AUTO_TEST_CASE | ( | IntegralConstant | ) |
Test if we can replace an expression with a tag using integral constants.
Definition at line 435 of file utest-proto-operators.cpp.
BOOST_AUTO_TEST_CASE | ( | IndexLooper | ) |
Definition at line 441 of file utest-proto-operators.cpp.
BOOST_AUTO_TEST_CASE | ( | VectorMultiplication | ) |
Definition at line 494 of file utest-proto-operators.cpp.
BOOST_AUTO_TEST_CASE | ( | NodeExprGrouping | ) |
Definition at line 548 of file utest-proto-operators.cpp.
BOOST_AUTO_TEST_CASE | ( | NodeExprFunctionParsing | ) |
Definition at line 574 of file utest-proto-operators.cpp.
BOOST_AUTO_TEST_CASE | ( | ProtoAccumulators | ) |
Definition at line 609 of file utest-proto-operators.cpp.
BOOST_AUTO_TEST_CASE | ( | AssignMatrix | ) |
Definition at line 630 of file utest-proto-operators.cpp.
BOOST_AUTO_TEST_CASE | ( | GaussPointAccess | ) |
Definition at line 651 of file utest-proto-operators.cpp.
BOOST_AUTO_TEST_CASE | ( | RestrictToEtype | ) |
Definition at line 666 of file utest-proto-operators.cpp.
BOOST_AUTO_TEST_CASE | ( | AddElementValues | ) |
Definition at line 691 of file utest-proto-operators.cpp.
BOOST_AUTO_TEST_CASE | ( | NodeIndexLoop | ) |
Definition at line 744 of file utest-proto-operators.cpp.
BOOST_AUTO_TEST_CASE | ( | ElementVector | ) |
Definition at line 788 of file utest-proto-operators.cpp.
BOOST_AUTO_TEST_CASE | ( | Grad | ) |
Definition at line 818 of file utest-proto-operators.cpp.
BOOST_AUTO_TEST_CASE | ( | Div | ) |
Definition at line 850 of file utest-proto-operators.cpp.
BOOST_AUTO_TEST_CASE | ( | MetricTensorTest | ) |
Definition at line 903 of file utest-proto-operators.cpp.
BOOST_AUTO_TEST_CASE | ( | NodeIdxOutput | ) |
Definition at line 918 of file utest-proto-operators.cpp.
|
inline |
Check close, for testing purposes.
Definition at line 62 of file utest-proto-operators.cpp.
|
static |
Definition at line 69 of file utest-proto-operators.cpp.
MakeSFOp<CustomLaplacian>::type laplacian_cust = {} |
Definition at line 289 of file utest-proto-operators.cpp.
Send comments to: COOLFluiD Web Admin |