mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: boundBox volume function.
This commit is contained in:
@ -152,6 +152,12 @@ public:
|
|||||||
return ::Foam::mag(max_ - min_);
|
return ::Foam::mag(max_ - min_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//- The volume of the bound box
|
||||||
|
scalar volume() const
|
||||||
|
{
|
||||||
|
return cmptProduct(span());
|
||||||
|
}
|
||||||
|
|
||||||
//- Smallest length/height/width dimension
|
//- Smallest length/height/width dimension
|
||||||
scalar minDim() const
|
scalar minDim() const
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user