11 constexpr std::string_view fname =
"chi_math::SpatialDiscretization_FV::"
18 std::unique_ptr<chi_math::CellMapping> mapping;
26 typedef std::vector<std::vector<int>> FaceDofMapping;
27 mapping = make_unique<cell_mapping::FiniteVolumeMapping>(
31 FaceDofMapping(cell.faces_.size(), {-1}));
35 throw std::logic_error(std::string(fname) +
36 std::string(
": Invalid cell type encountered."));
45 for (uint64_t ghost_id : ghost_ids)
49 std::make_pair(ghost_id, std::move(ghost_mapping)));
std::vector< std::unique_ptr< CellMapping > > cell_mappings_
std::map< uint64_t, std::shared_ptr< CellMapping > > nb_cell_mappings_
const chi_mesh::MeshContinuum & ref_grid_
void CreateCellMappings()
std::vector< uint64_t > GetGhostGlobalIDs() const
LocalCellHandler local_cells