22std::shared_ptr<FiniteVolume>
32 std::addressof(sdm->Grid()) == std::addressof(in_grid) and
33 sdm->GetCoordinateSystemType() == in_cs_type)
35 auto sdm_ptr = std::dynamic_pointer_cast<FiniteVolume>(sdm);
45 std::shared_ptr<spatial_discretization::FiniteVolume>(
#define ChiLogicalErrorIf(condition, message)
static std::vector< chi_math::SpatialDiscretizationPtr > sdm_stack
void CreateCellMappings()
static std::shared_ptr< FiniteVolume > New(const chi_mesh::MeshContinuum &in_grid, CoordinateSystemType in_cs_type=CoordinateSystemType::CARTESIAN)
FiniteVolume(const chi_mesh::MeshContinuum &grid, CoordinateSystemType cs_type)
SpatialDiscretizationType