preCICE v3.1.2
Loading...
Searching...
No Matches
Macros | Functions
GinkgoRadialBasisFctSolverTest.cpp File Reference
#include "mapping/GinkgoRadialBasisFctSolver.hpp"
#include "mapping/impl/BasisFunctions.hpp"
#include "mapping/tests/RadialBasisFctHelper.hpp"
#include "mesh/Data.hpp"
#include "mesh/Mesh.hpp"
#include "mesh/SharedPointer.hpp"
#include "mesh/Utils.hpp"
#include "mesh/Vertex.hpp"
#include "testing/TestContext.hpp"
#include "testing/Testing.hpp"
Include dependency graph for GinkgoRadialBasisFctSolverTest.cpp:

Go to the source code of this file.

Macros

#define doLocalCode(Type, function, polynomial, EXECUTOR, SOLVER)
 
#define TEST_FOR_ALL_RBFS(EXECUTOR, SOLVER)
 

Functions

 TEST_FOR_ALL_RBFS ("reference-executor", "gmres-solver")
 

Macro Definition Documentation

◆ doLocalCode

#define doLocalCode ( Type,
function,
polynomial,
EXECUTOR,
SOLVER )
Value:
{ \
gpm.executor = EXECUTOR; \
gpm.deviceId = 0; \
gpm.solver = SOLVER; \
gpm.maxIterations = 100; \
gpm.usePreconditioner = false; \
RadialBasisFctMapping<GinkgoRadialBasisFctSolver<Type>, MappingConfiguration::GinkgoParameter> consistentMap2D(Mapping::CONSISTENT, 2, function, {{false, false, false}}, polynomial, gpm); \
perform2DTestConsistentMapping(consistentMap2D); \
RadialBasisFctMapping<GinkgoRadialBasisFctSolver<Type>, MappingConfiguration::GinkgoParameter> consistentMap2DVector(Mapping::CONSISTENT, 2, function, {{false, false, false}}, polynomial, gpm); \
perform2DTestConsistentMappingVector(consistentMap2DVector); \
RadialBasisFctMapping<GinkgoRadialBasisFctSolver<Type>, MappingConfiguration::GinkgoParameter> consistentMap3D(Mapping::CONSISTENT, 3, function, {{false, false, false}}, polynomial, gpm); \
perform3DTestConsistentMapping(consistentMap3D); \
RadialBasisFctMapping<GinkgoRadialBasisFctSolver<Type>, MappingConfiguration::GinkgoParameter> scaledConsistentMap2D(Mapping::SCALED_CONSISTENT_SURFACE, 2, function, {{false, false, false}}, polynomial, gpm); \
perform2DTestScaledConsistentMapping(scaledConsistentMap2D); \
RadialBasisFctMapping<GinkgoRadialBasisFctSolver<Type>, MappingConfiguration::GinkgoParameter> scaledConsistentMap3D(Mapping::SCALED_CONSISTENT_SURFACE, 3, function, {{false, false, false}}, polynomial, gpm); \
perform3DTestScaledConsistentMapping(scaledConsistentMap3D); \
RadialBasisFctMapping<GinkgoRadialBasisFctSolver<Type>, MappingConfiguration::GinkgoParameter> conservativeMap2D(Mapping::CONSERVATIVE, 2, function, {{false, false, false}}, polynomial, gpm); \
perform2DTestConservativeMapping(conservativeMap2D); \
RadialBasisFctMapping<GinkgoRadialBasisFctSolver<Type>, MappingConfiguration::GinkgoParameter> conservativeMap2DVector(Mapping::CONSERVATIVE, 2, function, {{false, false, false}}, polynomial, gpm); \
perform2DTestConservativeMappingVector(conservativeMap2DVector); \
RadialBasisFctMapping<GinkgoRadialBasisFctSolver<Type>, MappingConfiguration::GinkgoParameter> conservativeMap3D(Mapping::CONSERVATIVE, 3, function, {{false, false, false}}, polynomial, gpm); \
perform3DTestConservativeMapping(conservativeMap3D); \
}
Mapping with radial basis functions.

Definition at line 24 of file GinkgoRadialBasisFctSolverTest.cpp.

◆ TEST_FOR_ALL_RBFS

#define TEST_FOR_ALL_RBFS ( EXECUTOR,
SOLVER )

Definition at line 50 of file GinkgoRadialBasisFctSolverTest.cpp.

Function Documentation

◆ TEST_FOR_ALL_RBFS()

TEST_FOR_ALL_RBFS ( "reference-executor" ,
"gmres-solver"  )