mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
fix typo in center face
This commit is contained in:
parent
e53d559740
commit
64f16e0e6f
@ -5237,7 +5237,7 @@ namespace netgen
|
|||||||
|
|
||||||
const auto faces = FlatArray<const ELEMENT_FACE>(topology.GetNFaces(eltype), topology.GetFaces0(eltype));
|
const auto faces = FlatArray<const ELEMENT_FACE>(topology.GetNFaces(eltype), topology.GetFaces0(eltype));
|
||||||
for (const auto & face: faces) {
|
for (const auto & face: faces) {
|
||||||
netgen::Vec<3> lam = netgen::Vec<3>(verts[face[0]] + verts[face[1] + verts[face[2]]]);
|
netgen::Vec<3> lam = netgen::Vec<3>(verts[face[0]] + verts[face[1]] + verts[face[2]]);
|
||||||
if(face[3] != -1) {
|
if(face[3] != -1) {
|
||||||
lam += netgen::Vec<3>(verts[face[3]]);
|
lam += netgen::Vec<3>(verts[face[3]]);
|
||||||
lam *= 0.25;
|
lam *= 0.25;
|
||||||
|
Loading…
Reference in New Issue
Block a user