|
preCICE
|
#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.
Classes | |
| struct | VertexSpecification |
| Holds rank, owner, position and value of a single vertex. More... | |
Macros | |
| #define | PERFORM_REFERENCE_TEST(EXECUTOR, type, function, dim) |
| #define | TEST_CPU_REFERENCE_FOR_SPD_RBFS(EXECUTOR) |
| #define | TEST_EXECUTOR_UNIT(EXECUTOR) |
Typedefs | |
| using | MeshSpecification = std::vector<VertexSpecification> |
| using | ReferenceSpecification = std::vector<std::pair<int, std::vector<double>>> |
| Contains which values are expected on which rank: rank -> vector of data. | |
| #define PERFORM_REFERENCE_TEST | ( | EXECUTOR, | |
| type, | |||
| function, | |||
| dim ) |
Definition at line 2052 of file PartitionOfUnityMappingTest.cpp.
| #define TEST_CPU_REFERENCE_FOR_SPD_RBFS | ( | EXECUTOR | ) |
Definition at line 2076 of file PartitionOfUnityMappingTest.cpp.
| #define TEST_EXECUTOR_UNIT | ( | EXECUTOR | ) |
Definition at line 2135 of file PartitionOfUnityMappingTest.cpp.
| using MeshSpecification = std::vector<VertexSpecification> |
Definition at line 2218 of file PartitionOfUnityMappingTest.cpp.
| using ReferenceSpecification = std::vector<std::pair<int, std::vector<double>>> |
Contains which values are expected on which rank: rank -> vector of data.
Definition at line 2221 of file PartitionOfUnityMappingTest.cpp.
| void addGlobalIndex | ( | mesh::PtrMesh & | mesh, |
| int | offset = 0 ) |
Definition at line 31 of file PartitionOfUnityMappingTest.cpp.
| BOOST_AUTO_TEST_CASE | ( | JustInTimeMapping | ) |
Definition at line 1903 of file PartitionOfUnityMappingTest.cpp.
| BOOST_AUTO_TEST_CASE | ( | PartitionOfUnityMappingTests | ) |
Definition at line 1876 of file PartitionOfUnityMappingTest.cpp.
| BOOST_AUTO_TEST_CASE | ( | TestSingleClusterPartitionOfUnity | ) |
Definition at line 1927 of file PartitionOfUnityMappingTest.cpp.
| void getDistributedMesh | ( | const TestContext & | context, |
| MeshSpecification const & | vertices, | ||
| mesh::PtrMesh & | mesh, | ||
| mesh::PtrData & | data, | ||
| int | globalIndexOffset = 0, | ||
| bool | meshIsSmaller = false ) |
Definition at line 2223 of file PartitionOfUnityMappingTest.cpp.
| void perform2DTestConservativeMapping | ( | Mapping & | mapping | ) |
Definition at line 381 of file PartitionOfUnityMappingTest.cpp.
| void perform2DTestConservativeMappingVector | ( | Mapping & | mapping | ) |
Definition at line 478 of file PartitionOfUnityMappingTest.cpp.
| void perform2DTestConsistentMapping | ( | Mapping & | mapping | ) |
Definition at line 50 of file PartitionOfUnityMappingTest.cpp.
| void perform2DTestConsistentMappingVector | ( | Mapping & | mapping | ) |
Definition at line 182 of file PartitionOfUnityMappingTest.cpp.
| void perform2DTestJustInTimeMappingConservative | ( | Mapping & | mapping | ) |
Definition at line 1494 of file PartitionOfUnityMappingTest.cpp.
| void perform2DTestJustInTimeMappingNoPolynomial | ( | Mapping & | mapping | ) |
Definition at line 939 of file PartitionOfUnityMappingTest.cpp.
| void perform3DTestConservativeMapping | ( | Mapping & | mapping | ) |
Definition at line 1198 of file PartitionOfUnityMappingTest.cpp.
| void perform3DTestConservativeMappingVector | ( | Mapping & | mapping | ) |
Definition at line 1640 of file PartitionOfUnityMappingTest.cpp.
| void perform3DTestConsistentMapping | ( | Mapping & | mapping | ) |
Definition at line 625 of file PartitionOfUnityMappingTest.cpp.
| void perform3DTestConsistentMappingVector | ( | Mapping & | mapping | ) |
Definition at line 1102 of file PartitionOfUnityMappingTest.cpp.
| void perform3DTestJustInTimeMappingConservative | ( | Mapping & | mapping | ) |
Definition at line 1311 of file PartitionOfUnityMappingTest.cpp.
| void perform3DTestJustInTimeMappingWithPolynomial | ( | Mapping & | mapping | ) |
Definition at line 772 of file PartitionOfUnityMappingTest.cpp.
| void performReferenceTesting | ( | Mapping & | testMapping, |
| Mapping & | referenceMapping, | ||
| int | dim, | ||
| int | nComponents ) |
Definition at line 1779 of file PartitionOfUnityMappingTest.cpp.
| void performTestConsistentMapDeadAxis | ( | Mapping & | mapping, |
| int | dim ) |
Definition at line 319 of file PartitionOfUnityMappingTest.cpp.
| PRECICE_TEST_SETUP | ( | "" | _on2_ranks).setupIntraComm( | ) |
Definition at line 2527 of file PartitionOfUnityMappingTest.cpp.
| PRECICE_TEST_SETUP | ( | "" | _on4_ranks).setupIntraComm( | ) |
Definition at line 2309 of file PartitionOfUnityMappingTest.cpp.
| double sumComponentWise | ( | const Eigen::VectorXd & | vec, |
| int | component, | ||
| int | dataDimension ) |
Definition at line 38 of file PartitionOfUnityMappingTest.cpp.
| void testDistributed | ( | const TestContext & | context, |
| Mapping & | mapping, | ||
| MeshSpecification | inMeshSpec, | ||
| MeshSpecification | outMeshSpec, | ||
| ReferenceSpecification | referenceSpec, | ||
| int | inGlobalIndexOffset = 0, | ||
| bool | meshIsSmaller = false ) |
Definition at line 2266 of file PartitionOfUnityMappingTest.cpp.
| void testTagging | ( | const TestContext & | context, |
| MeshSpecification | inMeshSpec, | ||
| MeshSpecification | outMeshSpec, | ||
| MeshSpecification | shouldTagFirstRound, | ||
| MeshSpecification | shouldTagSecondRound, | ||
| bool | consistent ) |
Definition at line 2574 of file PartitionOfUnityMappingTest.cpp.