15 std::vector<std::vector<int>> face_node_mappings)
19 GetVertexLocations(grid, cell),
20 std::move(face_node_mappings),
34std::vector<std::vector<int>>
37 const size_t num_faces = cell.
faces_.size();
38 std::vector<std::vector<int>> mappings;
39 mappings.reserve(num_faces);
40 for (
auto& face : cell.
faces_)
42 std::vector<int> face_dof_mapping;
43 face_dof_mapping.reserve(face.vertex_ids_.size());
44 for (uint64_t fvid : face.vertex_ids_)
47 for (
size_t ci = 0; ci < cell.
vertex_ids_.size(); ci++)
51 mapping =
static_cast<int>(ci);
61 face_dof_mapping.push_back(mapping);
64 mappings.push_back(face_dof_mapping);
72 std::vector<chi_mesh::Vector3> verts;
static void Exit(int error_code)
static std::vector< chi_mesh::Vector3 > GetVertexLocations(const chi_mesh::MeshContinuum &grid, const chi_mesh::Cell &cell)
PieceWiseLinearBaseMapping(const chi_mesh::MeshContinuum &grid, const chi_mesh::Cell &cell, size_t num_nodes, std::vector< std::vector< int > > face_node_mappings)
static std::vector< std::vector< int > > MakeFaceNodeMapping(const chi_mesh::Cell &cell)
std::vector< CellFace > faces_
std::vector< uint64_t > vertex_ids_