#include <Eigen/Core>
#include <algorithm>
#include <memory>
#include <ostream>
#include <string>
#include <utility>
#include <vector>
#include "logging/Logger.hpp"
#include "mapping/Mapping.hpp"
#include "mapping/PartitionOfUnityMapping.hpp"
#include "mapping/impl/BasisFunctions.hpp"
#include "mapping/impl/MappingDataCache.hpp"
#include "mesh/Data.hpp"
#include "mesh/Mesh.hpp"
#include "mesh/SharedPointer.hpp"
#include "mesh/Utils.hpp"
#include "mesh/Vertex.hpp"
#include "mesh/config/MeshConfiguration.hpp"
#include "testing/TestContext.hpp"
#include "testing/Testing.hpp"
Go to the source code of this file.
|
| void | addGlobalIndex (mesh::PtrMesh &mesh, int offset=0) |
| double | sumComponentWise (const Eigen::VectorXd &vec, int component, int dataDimension) |
| void | perform2DTestConsistentMapping (Mapping &mapping) |
| void | perform2DTestConsistentMappingVector (Mapping &mapping) |
| void | performTestConsistentMapDeadAxis (Mapping &mapping, int dim) |
| void | perform2DTestConservativeMapping (Mapping &mapping) |
| void | perform2DTestConservativeMappingVector (Mapping &mapping) |
| void | perform3DTestConsistentMapping (Mapping &mapping) |
| void | perform3DTestJustInTimeMappingWithPolynomial (Mapping &mapping) |
| void | perform2DTestJustInTimeMappingNoPolynomial (Mapping &mapping) |
| void | perform3DTestConsistentMappingVector (Mapping &mapping) |
| void | perform3DTestConservativeMapping (Mapping &mapping) |
| void | perform3DTestJustInTimeMappingConservative (Mapping &mapping) |
| void | perform2DTestJustInTimeMappingConservative (Mapping &mapping) |
| void | perform3DTestConservativeMappingVector (Mapping &mapping) |
| void | performReferenceTesting (Mapping &testMapping, Mapping &referenceMapping, int dim, int nComponents) |
| | BOOST_AUTO_TEST_CASE (PartitionOfUnityMappingTests) |
| | BOOST_AUTO_TEST_CASE (JustInTimeMapping) |
| | BOOST_AUTO_TEST_CASE (TestSingleClusterPartitionOfUnity) |
| void | getDistributedMesh (const TestContext &context, MeshSpecification const &vertices, mesh::PtrMesh &mesh, mesh::PtrData &data, int globalIndexOffset=0, bool meshIsSmaller=false) |
| void | testDistributed (const TestContext &context, Mapping &mapping, MeshSpecification inMeshSpec, MeshSpecification outMeshSpec, ReferenceSpecification referenceSpec, int inGlobalIndexOffset=0, bool meshIsSmaller=false) |
| | PRECICE_TEST_SETUP (""_on(4_ranks).setupIntraComm()) BOOST_AUTO_TEST_CASE(DistributedConsistent2D) |
| | PRECICE_TEST_SETUP (""_on(2_ranks).setupIntraComm()) BOOST_AUTO_TEST_CASE(DistributedConservative2DTwoRanks) |
| void | testTagging (const TestContext &context, MeshSpecification inMeshSpec, MeshSpecification outMeshSpec, MeshSpecification shouldTagFirstRound, MeshSpecification shouldTagSecondRound, bool consistent) |
◆ PERFORM_REFERENCE_TEST
| #define PERFORM_REFERENCE_TEST |
( |
| EXECUTOR, |
|
|
| type, |
|
|
| function, |
|
|
| dim ) |
◆ TEST_CPU_REFERENCE_FOR_SPD_RBFS
| #define TEST_CPU_REFERENCE_FOR_SPD_RBFS |
( |
| EXECUTOR | ) |
|
◆ TEST_EXECUTOR_UNIT
| #define TEST_EXECUTOR_UNIT |
( |
| EXECUTOR | ) |
|
Value:
BOOST_AUTO_TEST_CASE(UnitTests) \
{ \
PRECICE_TEST(); \
perform2DTestConsistentMapping(consistentMap2D); \
performTestConsistentMapDeadAxis(consistentMap2DDeadAxis, 2); \
}
#define PRECICE_TEST_SETUP(...)
Creates and attaches a TestSetup to a Boost test case.
Wendland radial basis function with compact support.
Wendland radial basis function with compact support.
@ Ginkgo
Ginkgo initialization.
Definition at line 2176 of file PartitionOfUnityMappingTest.cpp.
◆ MeshSpecification
◆ ReferenceSpecification
◆ addGlobalIndex()
◆ BOOST_AUTO_TEST_CASE() [1/3]
| BOOST_AUTO_TEST_CASE |
( |
JustInTimeMapping | | ) |
|
◆ BOOST_AUTO_TEST_CASE() [2/3]
| BOOST_AUTO_TEST_CASE |
( |
PartitionOfUnityMappingTests | | ) |
|
◆ BOOST_AUTO_TEST_CASE() [3/3]
| BOOST_AUTO_TEST_CASE |
( |
TestSingleClusterPartitionOfUnity | | ) |
|
◆ getDistributedMesh()
◆ perform2DTestConservativeMapping()
| void perform2DTestConservativeMapping |
( |
Mapping & | mapping | ) |
|
◆ perform2DTestConservativeMappingVector()
| void perform2DTestConservativeMappingVector |
( |
Mapping & | mapping | ) |
|
◆ perform2DTestConsistentMapping()
| void perform2DTestConsistentMapping |
( |
Mapping & | mapping | ) |
|
◆ perform2DTestConsistentMappingVector()
| void perform2DTestConsistentMappingVector |
( |
Mapping & | mapping | ) |
|
◆ perform2DTestJustInTimeMappingConservative()
| void perform2DTestJustInTimeMappingConservative |
( |
Mapping & | mapping | ) |
|
◆ perform2DTestJustInTimeMappingNoPolynomial()
| void perform2DTestJustInTimeMappingNoPolynomial |
( |
Mapping & | mapping | ) |
|
◆ perform3DTestConservativeMapping()
| void perform3DTestConservativeMapping |
( |
Mapping & | mapping | ) |
|
◆ perform3DTestConservativeMappingVector()
| void perform3DTestConservativeMappingVector |
( |
Mapping & | mapping | ) |
|
◆ perform3DTestConsistentMapping()
| void perform3DTestConsistentMapping |
( |
Mapping & | mapping | ) |
|
◆ perform3DTestConsistentMappingVector()
| void perform3DTestConsistentMappingVector |
( |
Mapping & | mapping | ) |
|
◆ perform3DTestJustInTimeMappingConservative()
| void perform3DTestJustInTimeMappingConservative |
( |
Mapping & | mapping | ) |
|
◆ perform3DTestJustInTimeMappingWithPolynomial()
| void perform3DTestJustInTimeMappingWithPolynomial |
( |
Mapping & | mapping | ) |
|
◆ performReferenceTesting()
| void performReferenceTesting |
( |
Mapping & | testMapping, |
|
|
Mapping & | referenceMapping, |
|
|
int | dim, |
|
|
int | nComponents ) |
◆ performTestConsistentMapDeadAxis()
| void performTestConsistentMapDeadAxis |
( |
Mapping & | mapping, |
|
|
int | dim ) |
◆ PRECICE_TEST_SETUP() [1/2]
| PRECICE_TEST_SETUP |
( |
"" | _on2_ranks).setupIntraComm( | ) |
|
◆ PRECICE_TEST_SETUP() [2/2]
| PRECICE_TEST_SETUP |
( |
"" | _on4_ranks).setupIntraComm( | ) |
|
◆ sumComponentWise()
| double sumComponentWise |
( |
const Eigen::VectorXd & | vec, |
|
|
int | component, |
|
|
int | dataDimension ) |
◆ testDistributed()
◆ testTagging()