1#ifndef SPATIAL_DISCRETIZATION_FV_H
2#define SPATIAL_DISCRETIZATION_FV_H
26 std::shared_ptr<FiniteVolume>
41 std::vector<int64_t>& nodal_nnz_off_diag,
48 unsigned int unknown_id,
49 unsigned int component)
const override;
54 unsigned int unknown_id,
55 unsigned int component)
const override;
62 unsigned int node)
const override
const UnknownManager UNITARY_UNKNOWN_MANAGER
void CreateCellMappings()
void BuildSparsityPattern(std::vector< int64_t > &nodal_nnz_in_diag, std::vector< int64_t > &nodal_nnz_off_diag, const UnknownManager &unknown_manager) const override
size_t GetNumGhostDOFs(const UnknownManager &unknown_manager) 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
int64_t MapDOFLocal(const chi_mesh::Cell &cell, unsigned int node, const UnknownManager &unknown_manager, unsigned int unknown_id, unsigned int component) const override
std::map< uint64_t, uint64_t > neighbor_cell_local_ids_
int64_t MapDOFLocal(const chi_mesh::Cell &cell, unsigned int node) const override
int64_t MapDOF(const chi_mesh::Cell &cell, unsigned int node) const override
static std::shared_ptr< FiniteVolume > New(const chi_mesh::MeshContinuum &in_grid, CoordinateSystemType in_cs_type=CoordinateSystemType::CARTESIAN)
virtual ~FiniteVolume()=default
FiniteVolume(const chi_mesh::MeshContinuum &grid, CoordinateSystemType cs_type)
std::vector< int64_t > GetGhostDOFIndices(const UnknownManager &unknown_manager) const override