7#define sc_int64 static_cast<int64_t>
27 std::vector<int64_t> dof_ids;
30 const size_t num_unknown_comps =
33 const size_t num_unknowns = unknown_manager.
unknowns_.size();
37 const int64_t global_id = vid_gnid.second;
39 for (
size_t u = 0; u < num_unknowns; ++u)
41 const auto& unkn = unknown_manager.
unknowns_[u];
42 const size_t num_comps = unkn.num_components_;
43 for (
size_t c = 0; c < num_comps; ++c)
45 size_t block_id = unknown_manager.
MapUnknown(u, c);
51 const int64_t local_id =
65 dof_ids.push_back(address);
static chi::MPI_Info & mpi
const int & process_count
Total number of processes.
std::vector< uint64_t > locJ_block_size_
std::vector< uint64_t > locJ_block_address_
unsigned int MapUnknown(unsigned int unknown_id, unsigned int component=0) const
std::vector< Unknown > unknowns_
UnknownStorageType dof_storage_type_
unsigned int GetTotalUnknownStructureSize() const
std::map< uint64_t, int64_t > ghost_node_mapping_
std::vector< int64_t > GetGhostDOFIndices(const UnknownManager &unknown_manager) const override
size_t GetNumGhostDOFs(const UnknownManager &unknown_manager) const override