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:
@ -32,7 +32,7 @@ License
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
defineTypeNameAndDebug(conformationSurfaces, 0);
|
||||
defineTypeNameAndDebug(conformationSurfaces, 0);
|
||||
}
|
||||
|
||||
|
||||
@ -71,8 +71,7 @@ void Foam::conformationSurfaces::hasBoundedVolume
|
||||
|
||||
referenceVolumeTypes[s] = vTypes[0];
|
||||
|
||||
Info<< " is "
|
||||
<< volumeType::names[referenceVolumeTypes[s]]
|
||||
Info<< " is " << referenceVolumeTypes[s].str()
|
||||
<< " surface " << surface.name()
|
||||
<< endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user