Skip to content

Commit

Permalink
add TODO in function transport_tuple for case that base_pt > pt
Browse files Browse the repository at this point in the history
  • Loading branch information
zlyfunction committed Oct 19, 2023
1 parent 4da0b70 commit 3d9b93f
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/wmtk/multimesh/utils/transport_tuple.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,14 @@ Tuple transport_tuple(
const Tuple& source,
PrimitiveType primitive_type)
{
std::vector<PrimitiveType> operations =
find_local_switch_sequence(base_source, base_target, base_primitive_type);
return local_switch_tuples(primitive_type, source, operations);
if (base_primitive_type <= primitive_type) {
std::vector<PrimitiveType> operations =
find_local_switch_sequence(base_source, base_target, base_primitive_type);
return local_switch_tuples(primitive_type, source, operations);
} else {
// TODO: implement this
// in top_level_cofaces find the one with the same
return Tuple();
}
}
} // namespace wmtk::multimesh::utils

0 comments on commit 3d9b93f

Please sign in to comment.