IOSS 2.0
|
#include "Ioss_ConcreteVariableType.h"
#include "Ioss_Field.h"
#include "Ioss_Map.h"
#include <catch2/catch_test_macros.hpp>
#include <cstddef>
#include <numeric>
#include <random>
#include <stdint.h>
#include <string>
#include <vector>
Functions | |
template<typename INT > | |
void | initialize_data (std::vector< INT > &init) |
template<typename INT > | |
void | verify_global_to_local (const Ioss::Map &my_map, const std::vector< INT > &init) |
template<typename INT > | |
void | test_reorder (Ioss::Map &my_map, std::vector< INT > &init, size_t offset) |
TEST_CASE ("test random ids") | |
TEST_CASE ("test sequential map with offset") | |
TEST_CASE ("test segmented map creation") | |
TEST_CASE ("test reverse segmented map creation") | |
TEST_CASE ("test segment gap") | |
TEST_CASE ("test small reverse") | |
TEST_CASE ("test small swap front back") | |
TEST_CASE ("test map_data sequential") | |
TEST_CASE ("test map_data random") | |
void initialize_data | ( | std::vector< INT > & | init | ) |
TEST_CASE | ( | "test map_data random" | ) |
TEST_CASE | ( | "test map_data sequential" | ) |
TEST_CASE | ( | "test random ids" | ) |
TEST_CASE | ( | "test reverse segmented map creation" | ) |
TEST_CASE | ( | "test segment gap" | ) |
TEST_CASE | ( | "test segmented map creation" | ) |
TEST_CASE | ( | "test sequential map with offset" | ) |
TEST_CASE | ( | "test small reverse" | ) |
TEST_CASE | ( | "test small swap front back" | ) |
void test_reorder | ( | Ioss::Map & | my_map, |
std::vector< INT > & | init, | ||
size_t | offset ) |
void verify_global_to_local | ( | const Ioss::Map & | my_map, |
const std::vector< INT > & | init ) |