7#define sc_int64 static_cast<int64_t>
16 const unsigned int node,
18 const unsigned int unknown_id,
19 const unsigned int component )
const
24 std::string(
"Bad trouble mapping vertex ") +
25 std::to_string(vertex_id));
29 size_t block_id = unknown_manager.
MapUnknown(unknown_id, component);
56 const unsigned int node,
58 const unsigned int unknown_id,
59 const unsigned int component )
const
67 size_t block_id = unknown_manager.
MapUnknown(unknown_id, component);
86 int64_t ghost_local_node_id = -1;
90 if (node_global_id == vid_gnid.second)
92 ghost_local_node_id = counter;
106 address +=
sc_int64(num_local_dofs);
#define ChiLogicalErrorIf(condition, message)
static chi::MPI_Info & mpi
const int & process_count
Total number of processes.
std::vector< uint64_t > locJ_block_size_
size_t GetNumLocalDOFs(const UnknownManager &unknown_manager) const
uint64_t local_base_block_size_
uint64_t local_block_address_
std::vector< uint64_t > locJ_block_address_
unsigned int MapUnknown(unsigned int unknown_id, unsigned int component=0) const
UnknownStorageType dof_storage_type_
unsigned int GetTotalUnknownStructureSize() const
std::map< uint64_t, int64_t > ghost_node_mapping_
std::map< uint64_t, int64_t > node_mapping_
int64_t MapDOFLocal(const chi_mesh::Cell &cell, unsigned int node, const UnknownManager &unknown_manager, unsigned int unknown_id, unsigned int component) const override
int64_t MapDOF(const chi_mesh::Cell &cell, unsigned int node, const UnknownManager &unknown_manager, unsigned int unknown_id, unsigned int component) const override
std::vector< uint64_t > vertex_ids_