preCICE v3.1.2
|
#include "utils/stacktrace.hpp"
Go to the source code of this file.
Macros | |
#define | PRECICE_VALIDATE_MESH_NAME_IMPL(name) |
#define | PRECICE_REQUIRE_MESH_USE_IMPL(name) |
#define | PRECICE_REQUIRE_MESH_PROVIDE_IMPL(name) |
#define | PRECICE_REQUIRE_MESH_MODIFY_IMPL(name) |
#define | PRECICE_VALIDATE_MESH_NAME(name) |
#define | PRECICE_REQUIRE_MESH_USE(name) |
#define | PRECICE_REQUIRE_MESH_PROVIDE(name) |
#define | PRECICE_REQUIRE_MESH_MODIFY(name) |
#define | PRECICE_VALIDATE_DATA_NAME_IMPL(mesh, data) |
#define | PRECICE_REQUIRE_DATA_READ_IMPL(mesh, data) |
#define | PRECICE_REQUIRE_DATA_WRITE_IMPL(mesh, data) |
#define | PRECICE_VALIDATE_DATA_NAME(mesh, data) |
#define | PRECICE_REQUIRE_DATA_READ(mesh, data) |
#define | PRECICE_REQUIRE_DATA_WRITE(mesh, data) |
#define | PRECICE_VALIDATE_DATA(data, size) PRECICE_CHECK(std::all_of(data, data + size, [](double val) { return std::isfinite(val); }), "One of the given data values is either plus or minus infinity or NaN."); |
#define | PRECICE_EXPERIMENTAL_API() |
This file contains verification macros to harden the Participant against misuse and misconfiguration.
Definition in file ValidationMacros.hpp.
#define PRECICE_EXPERIMENTAL_API | ( | ) |
Definition at line 162 of file ValidationMacros.hpp.
#define PRECICE_REQUIRE_DATA_READ | ( | mesh, | |
data ) |
Validates a given dataID and checks for read access This macros creates the "id" in a local scope and provides it to the called implementation.
Definition at line 134 of file ValidationMacros.hpp.
#define PRECICE_REQUIRE_DATA_READ_IMPL | ( | mesh, | |
data ) |
Implementation of PRECICE_REQUIRE_DATA_READ()
Definition at line 105 of file ValidationMacros.hpp.
#define PRECICE_REQUIRE_DATA_WRITE | ( | mesh, | |
data ) |
Validates a given dataID and checks for write access This macros creates the "id" in a local scope and provides it to the called implementation.
Definition at line 142 of file ValidationMacros.hpp.
#define PRECICE_REQUIRE_DATA_WRITE_IMPL | ( | mesh, | |
data ) |
Implementation of PRECICE_REQUIRE_DATA_WRITE()
Definition at line 116 of file ValidationMacros.hpp.
#define PRECICE_REQUIRE_MESH_MODIFY | ( | name | ) |
Validates a given meshID, checks if the mesh is provided by the current participant and unlocked This macros creates the "id" in a local scope and provides it to the called implementation.
Definition at line 84 of file ValidationMacros.hpp.
#define PRECICE_REQUIRE_MESH_MODIFY_IMPL | ( | name | ) |
Implementation of PRECICE_REQUIRE_MESH_MODIFY()
Definition at line 50 of file ValidationMacros.hpp.
#define PRECICE_REQUIRE_MESH_PROVIDE | ( | name | ) |
Validates a given meshID and checks if the mesh is provided by the current participant This macros creates the "id" in a local scope and provides it to the called implementation.
Definition at line 76 of file ValidationMacros.hpp.
#define PRECICE_REQUIRE_MESH_PROVIDE_IMPL | ( | name | ) |
Implementation of PRECICE_REQUIRE_MESH_PROVIDE()
Definition at line 39 of file ValidationMacros.hpp.
#define PRECICE_REQUIRE_MESH_USE | ( | name | ) |
Validates a given meshID and checks if the mesh is used by the current participant This macros creates the "id" in a local scope and provides it to the called implementation.
Definition at line 68 of file ValidationMacros.hpp.
#define PRECICE_REQUIRE_MESH_USE_IMPL | ( | name | ) |
Implementation of PRECICE_REQUIRE_MESH_USE()
Definition at line 27 of file ValidationMacros.hpp.
#define PRECICE_VALIDATE_DATA | ( | data, | |
size ) PRECICE_CHECK(std::all_of(data, data + size, [](double val) { return std::isfinite(val); }), "One of the given data values is either plus or minus infinity or NaN."); |
Definition at line 157 of file ValidationMacros.hpp.
#define PRECICE_VALIDATE_DATA_NAME | ( | mesh, | |
data ) |
Validates a given dataID This macros creates the "id" in a local scope and provides it to the called implementation.
Definition at line 126 of file ValidationMacros.hpp.
#define PRECICE_VALIDATE_DATA_NAME_IMPL | ( | mesh, | |
data ) |
Implementation of PRECICE_VALIDATE_DATA_ID()
Definition at line 97 of file ValidationMacros.hpp.
#define PRECICE_VALIDATE_MESH_NAME | ( | name | ) |
Validates a given meshID This macros creates the "id" in a local scope and provides it to the called implementation.
Definition at line 60 of file ValidationMacros.hpp.
#define PRECICE_VALIDATE_MESH_NAME_IMPL | ( | name | ) |
Implementation of PRECICE_VALIDATE_MESH_ID()
Definition at line 18 of file ValidationMacros.hpp.