7#define sc_int64 static_cast<int64_t>
15 const unsigned int node,
17 const unsigned int unknown_id,
18 const unsigned int component)
const
23 size_t block_id = unknown_manager.
MapUnknown(unknown_id, component);
39 node * num_unknowns + block_id;
60 <<
"SpatialDiscretization_PWL::MapDFEMDOF. Mapping failed for cell "
61 <<
"with global index " << cell.
global_id_ <<
" and partition-ID "
76 node * num_unknowns + block_id;
88 const unsigned int node,
90 const unsigned int unknown_id,
91 const unsigned int component)
const
96 size_t block_id = unknown_manager.
MapUnknown(unknown_id, component);
110 node * num_unknowns + block_id;
131 <<
"SpatialDiscretization_PWL::MapDFEMDOF. Mapping failed for cell "
132 <<
"with global index " << cell.
global_id_ <<
" and partition-ID "
147 node * num_unknowns + block_id;
static void Exit(int error_code)
static chi::MPI_Info & mpi
const int & location_id
Current process rank.
std::vector< uint64_t > locJ_block_size_
uint64_t local_base_block_size_
uint64_t local_block_address_
unsigned int MapUnknown(unsigned int unknown_id, unsigned int component=0) const
UnknownStorageType dof_storage_type_
unsigned int GetTotalUnknownStructureSize() const
std::vector< int64_t > cell_local_block_address_
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< std::pair< uint64_t, int64_t > > neighbor_cell_block_address_