We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef9bffc commit f5056faCopy full SHA for f5056fa
src/lib/OGF/mesh/interfaces/mesh_grob_editor_interface.cpp
@@ -453,7 +453,7 @@ namespace OGF {
453
NL::Vector* MeshGrobEditor::get_facet_pointers() const {
454
// if facets are triangles, then facet pointers are implicit,
455
// so we need to explicitize them
456
- if(mesh_grob()->cells.are_simplices()) {
+ if(mesh_grob()->facets.are_simplices()) {
457
NL::Vector* result = new NL::Vector(
458
mesh_grob()->facets.nb()+1, 1, ogf_meta<index_t>::type()
459
);
@@ -479,7 +479,7 @@ namespace OGF {
479
return new NL::Vector(
480
mesh_grob(),
481
mesh_grob()->facet_corners.vertex_index_ptr(0),
482
- mesh_grob()->facets.nb(),
+ mesh_grob()->facet_corners.nb(),
483
1,
484
ogf_meta<index_t>::type(),
485
true
0 commit comments