|
preCICE v3.3.0
|
#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... | |
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. | |
| using MeshSpecification = std::vector<VertexSpecification> |
Definition at line 1989 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 1992 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 1807 of file PartitionOfUnityMappingTest.cpp.
| BOOST_AUTO_TEST_CASE | ( | PartitionOfUnityMappingTests | ) |
Definition at line 1780 of file PartitionOfUnityMappingTest.cpp.
| BOOST_AUTO_TEST_CASE | ( | TestSingleClusterPartitionOfUnity | ) |
Definition at line 1831 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 1994 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 performTestConsistentMapDeadAxis | ( | Mapping & | mapping, |
| int | dim ) |
Definition at line 319 of file PartitionOfUnityMappingTest.cpp.
| PRECICE_TEST_SETUP | ( | "" | _on2_ranks).setupIntraComm( | ) |
Definition at line 2298 of file PartitionOfUnityMappingTest.cpp.
| PRECICE_TEST_SETUP | ( | "" | _on4_ranks).setupIntraComm( | ) |
Definition at line 2080 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 2037 of file PartitionOfUnityMappingTest.cpp.
| void testTagging | ( | const TestContext & | context, |
| MeshSpecification | inMeshSpec, | ||
| MeshSpecification | outMeshSpec, | ||
| MeshSpecification | shouldTagFirstRound, | ||
| MeshSpecification | shouldTagSecondRound, | ||
| bool | consistent ) |
Definition at line 2345 of file PartitionOfUnityMappingTest.cpp.