Skip to content

Commit

Permalink
Added a getter for vertex tuple in triangular_acet
Browse files Browse the repository at this point in the history
  • Loading branch information
Egor Demidov committed Feb 23, 2024
1 parent 44739a7 commit e1185a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/libgran/surface_force/triangular_facet.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ struct triangular_facet {
return plane_unit_normal;
}

std::tuple<field_value_t, field_value_t, field_value_t> const & get_vertices() const {
return vertices;
}

// Velocity of the facet
field_value_t v_facet;

Expand Down

0 comments on commit e1185a9

Please sign in to comment.