mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: reduce storage requirement for volumeType
- char instead of integer representation for the enumeration. - additional constructor as lookupOrDefault from dictionary entry.
This commit is contained in:
@ -644,8 +644,7 @@ void Foam::searchableSurfacesQueries::signedDistance
|
||||
<< " point:" << surfPoints[i]
|
||||
<< " surface:"
|
||||
<< allSurfaces[surfacesToTest[testI]].name()
|
||||
<< " volType:"
|
||||
<< volumeType::names[vT]
|
||||
<< " volType:" << vT.str()
|
||||
<< exit(FatalError);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user