1#ifndef SPATIAL_DISCRETIZATION_PWLC_H
2#define SPATIAL_DISCRETIZATION_PWLC_H
18 static std::shared_ptr<PieceWiseLinearContinuous>
26 std::vector<int64_t>& nodal_nnz_off_diag,
33 unsigned int unknown_id,
34 unsigned int component)
const override;
39 unsigned int unknown_id,
40 unsigned int component)
const override;
47 unsigned int node)
const override
const UnknownManager UNITARY_UNKNOWN_MANAGER
std::map< uint64_t, int64_t > ghost_node_mapping_
std::map< uint64_t, int64_t > node_mapping_
static std::shared_ptr< PieceWiseLinearContinuous > New(const chi_mesh::MeshContinuum &grid, QuadratureOrder q_order=QuadratureOrder::SECOND, CoordinateSystemType cs_type=CoordinateSystemType::CARTESIAN)
void BuildSparsityPattern(std::vector< int64_t > &nodal_nnz_in_diag, std::vector< int64_t > &nodal_nnz_off_diag, const UnknownManager &unknown_manager) const override
int64_t MapDOF(const chi_mesh::Cell &cell, unsigned int node) const override
PieceWiseLinearContinuous(const chi_mesh::MeshContinuum &grid, QuadratureOrder q_order, CoordinateSystemType cs_type)
std::vector< int64_t > GetGhostDOFIndices(const UnknownManager &unknown_manager) const override
int64_t MapDOFLocal(const chi_mesh::Cell &cell, unsigned int node) const override
size_t GetNumGhostDOFs(const UnknownManager &unknown_manager) 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
int64_t MapDOF(const chi_mesh::Cell &cell, unsigned int node, const UnknownManager &unknown_manager, unsigned int unknown_id, unsigned int component) const override