#include <Ioss_Map.h>
|
| Map ()=default |
|
| Map (std::string entity_type, std::string file_name, int processor) |
|
| Map (const Map &from)=delete |
|
Map & | operator= (const Map &from)=delete |
|
void | set_rank (int processor) |
|
void | set_size (size_t entity_count) |
|
IOSS_NODISCARD size_t | size () const |
|
void | set_is_sequential (bool yesno) |
|
IOSS_NODISCARD bool | is_sequential (bool check_all=false) const |
|
IOSS_NODISCARD int64_t | global_to_local (int64_t global, bool must_exist=true) const |
|
template<typename INT > |
bool | set_map (INT *ids, size_t count, size_t offset, bool in_define_mode=true) |
|
void | set_default (size_t count, size_t offset=0) |
|
void | build_reverse_map () |
|
void | build_reverse_map_no_lock () |
|
void | build_reverse_map (int64_t num_to_get, int64_t offset) |
|
void | release_memory () |
|
void | reverse_map_data (void *data, const Ioss::Field &field, size_t count) const |
| Release memory for all maps.
|
|
void | map_data (void *data, const Ioss::Field &field, size_t count) const |
|
void | map_data (void *data, const Ioss::Field::BasicType type, size_t count) const |
|
void | map_implicit_data (void *data, const Ioss::Field &field, size_t count, size_t offset) const |
|
template<typename T > |
size_t | map_field_to_db_scalar_order (T *variables, std::vector< double > &db_var, size_t begin_offset, size_t count, size_t stride, size_t offset) |
|
IOSS_NODISCARD const MapContainer & | map () const |
|
IOSS_NODISCARD MapContainer & | map () |
|
IOSS_NODISCARD bool | defined () const |
|
void | set_defined (bool yes_no) |
|
IOSS_NODISCARD bool | reorders () const |
|
◆ Map() [1/3]
◆ Map() [2/3]
Ioss::Map::Map |
( |
std::string | entity_type, |
|
|
std::string | file_name, |
|
|
int | processor ) |
|
inline |
◆ Map() [3/3]
Ioss::Map::Map |
( |
const Map & | from | ) |
|
|
delete |
◆ build_reorder_map_nl()
void Ioss::Map::build_reorder_map_nl |
( |
int64_t | start, |
|
|
int64_t | count ) |
|
private |
◆ build_reverse_map() [1/2]
void Ioss::Map::build_reverse_map |
( |
| ) |
|
◆ build_reverse_map() [2/2]
void Ioss::Map::build_reverse_map |
( |
int64_t | num_to_get, |
|
|
int64_t | offset ) |
◆ build_reverse_map_nl()
void Ioss::Map::build_reverse_map_nl |
( |
int64_t | num_to_get, |
|
|
int64_t | offset ) |
|
private |
◆ build_reverse_map_no_lock()
void Ioss::Map::build_reverse_map_no_lock |
( |
| ) |
|
◆ defined()
◆ global_to_local()
int64_t Ioss::Map::global_to_local |
( |
int64_t | global, |
|
|
bool | must_exist = true ) const |
◆ global_to_local_nl()
int64_t Ioss::Map::global_to_local_nl |
( |
int64_t | global, |
|
|
bool | must_exist = true ) const |
|
private |
◆ is_sequential()
bool Ioss::Map::is_sequential |
( |
bool | check_all = false | ) |
const |
◆ map() [1/2]
◆ map() [2/2]
◆ map_data() [1/3]
template<typename INT >
void Ioss::Map::map_data |
( |
INT * | data, |
|
|
size_t | count ) const |
|
private |
◆ map_data() [2/3]
void Ioss::Map::map_data |
( |
void * | data, |
|
|
const Ioss::Field & | field, |
|
|
size_t | count ) const |
◆ map_data() [3/3]
◆ map_field_to_db_scalar_order()
template<typename T >
size_t Ioss::Map::map_field_to_db_scalar_order |
( |
T * | variables, |
|
|
std::vector< double > & | db_var, |
|
|
size_t | begin_offset, |
|
|
size_t | count, |
|
|
size_t | stride, |
|
|
size_t | offset ) |
◆ map_implicit_data() [1/2]
template<typename INT >
void Ioss::Map::map_implicit_data |
( |
INT * | data, |
|
|
size_t | count, |
|
|
size_t | offset ) const |
|
private |
◆ map_implicit_data() [2/2]
void Ioss::Map::map_implicit_data |
( |
void * | data, |
|
|
const Ioss::Field & | field, |
|
|
size_t | count, |
|
|
size_t | offset ) const |
◆ operator=()
Map & Ioss::Map::operator= |
( |
const Map & | from | ) |
|
|
delete |
◆ release_memory()
void Ioss::Map::release_memory |
( |
| ) |
|
◆ reorders()
◆ reverse_map_data() [1/2]
template<typename INT >
void Ioss::Map::reverse_map_data |
( |
INT * | data, |
|
|
size_t | count ) const |
|
private |
◆ reverse_map_data() [2/2]
void Ioss::Map::reverse_map_data |
( |
void * | data, |
|
|
const Ioss::Field & | field, |
|
|
size_t | count ) const |
Release memory for all maps.
◆ set_default()
void Ioss::Map::set_default |
( |
size_t | count, |
|
|
size_t | offset = 0 ) |
◆ set_defined()
void Ioss::Map::set_defined |
( |
bool | yes_no | ) |
|
|
inline |
◆ set_is_sequential()
void Ioss::Map::set_is_sequential |
( |
bool | yesno | ) |
|
|
inline |
◆ set_map()
template<typename INT >
bool Ioss::Map::set_map |
( |
INT * | ids, |
|
|
size_t | count, |
|
|
size_t | offset, |
|
|
bool | in_define_mode = true ) |
◆ set_rank()
void Ioss::Map::set_rank |
( |
int | processor | ) |
|
|
inline |
◆ set_size()
void Ioss::Map::set_size |
( |
size_t | entity_count | ) |
|
◆ size()
◆ m_defined
bool Ioss::Map::m_defined {false} |
|
private |
◆ m_entityType
std::string Ioss::Map::m_entityType {"unknown"} |
|
private |
◆ m_filename
std::string Ioss::Map::m_filename {"undefined"} |
|
private |
◆ m_map
◆ m_myProcessor
int Ioss::Map::m_myProcessor {0} |
|
private |
◆ m_offset
int64_t Ioss::Map::m_offset {-1} |
|
mutableprivate |
◆ m_reorder
◆ m_reverse
The documentation for this class was generated from the following files: