Trisurface modified with new data structure

This commit is based on changes to geometry class of phasicFlow (version 1.0)
This commit is contained in:
Hamidreza Norouzi 2024-03-24 02:01:02 -07:00
parent 57850119ba
commit 22405db699
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ real surface( const realx3& p1, const realx3& p2, const realx3& p3)
{
realx3 V1 = p2 - p1;
realx3 V2 = p3 - p1;
return abs((cross(V1,V2)).length()/2.0);
return abs((cross(V1,V2)).length()/(real)2.0);
}
INLINE_FUNCTION_HD