NuTo
Numerics Tool
|
#include "BoostUnitTest.h"
#include "nuto/mechanics/constitutive/ConstitutiveEnum.h"
#include "nuto/mechanics/elements/ElementBase.h"
#include "nuto/mechanics/nodes/NodeEnum.h"
#include "nuto/mechanics/structures/StructureOutputBlockMatrix.h"
#include "nuto/mechanics/structures/StructureOutputBlockVector.h"
#include "nuto/mechanics/structures/unstructured/Structure.h"
#include "nuto/mechanics/interpolationtypes/InterpolationType.h"
#include "nuto/mechanics/interpolationtypes/InterpolationTypeEnum.h"
#include "nuto/mechanics/interpolationtypes/Interpolation2DTriangle.h"
#include "nuto/mechanics/integrationtypes/IntegrationTypeTensorProduct.h"
#include "nuto/mechanics/integrationtypes/IntegrationType2D3NGauss13Ip.h"
#include "nuto/mechanics/integrationtypes/IntegrationType3D4NGauss4Ip.h"
#include "nuto/mechanics/integrationtypes/IntegrationType3D6NGauss2x3Ip.h"
#include "nuto/mechanics/integrationtypes/IntegrationTypeEnum.h"
Functions | |
void | CheckPartitionOfUnity (const NuTo::InterpolationType &rIT, const NuTo::IntegrationTypeBase &integrationType) |
checks if the shape functions sum up to 1 (at all integration points) More... | |
void | CheckDerivatives (NuTo::InterpolationType &rIT) |
checks wheather B = dN/dxi around node 0 More... | |
void | CheckShapeFunctionsAndNodePositions (NuTo::InterpolationType &rIT, int rNumNodesExpected) |
checks, whether or not the natural node coordinates match the shape functions This should be true: N_i(xi_j) == 1 for i == j and N_j(xi_i) == 0 for i != j More... | |
void | CheckNodeIndexing (NuTo::InterpolationType &rIT) |
the global index (0..mNumNodesTotal) of the node is compared to the dof index (0..mNumNodes(dof)) via the local node positions More... | |
BOOST_AUTO_TEST_CASE (InterpolationTruss) | |
BOOST_AUTO_TEST_CASE (InterpolationTriangle) | |
BOOST_AUTO_TEST_CASE (InterpolationQuad) | |
BOOST_AUTO_TEST_CASE (InterpolationTetrahedron) | |
BOOST_AUTO_TEST_CASE (InterpolationBrick) | |
BOOST_AUTO_TEST_CASE (InterpolationPrism) | |
BOOST_AUTO_TEST_CASE (InterpolationNodeReorderingTruss) | |
BOOST_AUTO_TEST_CASE (InterpolationNodeReorderingTriangle) | |
BOOST_AUTO_TEST_CASE (InterpolationNodeReorderingQuad) | |
BOOST_AUTO_TEST_CASE (InterpolationNodeReorderingTetrahedron) | |
BOOST_AUTO_TEST_CASE (InterpolationNodeReorderingBrick) | |
BOOST_AUTO_TEST_CASE | ( | InterpolationTruss | ) |
BOOST_AUTO_TEST_CASE | ( | InterpolationTriangle | ) |
BOOST_AUTO_TEST_CASE | ( | InterpolationQuad | ) |
BOOST_AUTO_TEST_CASE | ( | InterpolationTetrahedron | ) |
BOOST_AUTO_TEST_CASE | ( | InterpolationBrick | ) |
BOOST_AUTO_TEST_CASE | ( | InterpolationPrism | ) |
BOOST_AUTO_TEST_CASE | ( | InterpolationNodeReorderingTruss | ) |
BOOST_AUTO_TEST_CASE | ( | InterpolationNodeReorderingTriangle | ) |
BOOST_AUTO_TEST_CASE | ( | InterpolationNodeReorderingQuad | ) |
BOOST_AUTO_TEST_CASE | ( | InterpolationNodeReorderingTetrahedron | ) |
BOOST_AUTO_TEST_CASE | ( | InterpolationNodeReorderingBrick | ) |
void CheckDerivatives | ( | NuTo::InterpolationType & | rIT | ) |
checks wheather B = dN/dxi around node 0
void CheckNodeIndexing | ( | NuTo::InterpolationType & | rIT | ) |
the global index (0..mNumNodesTotal) of the node is compared to the dof index (0..mNumNodes(dof)) via the local node positions
void CheckPartitionOfUnity | ( | const NuTo::InterpolationType & | rIT, |
const NuTo::IntegrationTypeBase & | integrationType | ||
) |
checks if the shape functions sum up to 1 (at all integration points)
void CheckShapeFunctionsAndNodePositions | ( | NuTo::InterpolationType & | rIT, |
int | rNumNodesExpected | ||
) |
checks, whether or not the natural node coordinates match the shape functions This should be true: N_i(xi_j) == 1 for i == j and N_j(xi_i) == 0 for i != j