// Construct from components Foam::repatchCoverage::repatchCoverage ( const word& name, const label index, const polyTopoChanger& mme, const word& masterCoveredPatchName, const word& masterUncoveredPatchName, const word& slaveCoveredPatchName, const word& slaveUncoveredPatchName, const scalar repatchThreshold ) : polyMeshModifier(name, index, mme, true), masterCoveredPatchID_(masterCoveredPatchName, mme.mesh().boundaryMesh()), masterUncoveredPatchID_ ( masterUncoveredPatchName, mme.mesh().boundaryMesh() ), slaveCoveredPatchID_(slaveCoveredPatchName, mme.mesh().boundaryMesh()), slaveUncoveredPatchID_ ( slaveUncoveredPatchName, mme.mesh().boundaryMesh() ), repatchThreshold_ ( Foam::max(SMALL, Foam::min(repatchThreshold, 1 - SMALL)) ), uncMaster_(), uncSlave_() { checkDefinition(); }
// Construct from components Foam::repatchCoverage::repatchCoverage ( const word& name, const dictionary& dict, const label index, const polyTopoChanger& mme ) : polyMeshModifier(name, index, mme, Switch(dict.lookup("active"))), masterCoveredPatchID_ ( dict.lookup("masterCoveredPatchName"), mme.mesh().boundaryMesh() ), masterUncoveredPatchID_ ( dict.lookup("masterUncoveredPatchName"), mme.mesh().boundaryMesh() ), slaveCoveredPatchID_ ( dict.lookup("slaveCoveredPatchName"), mme.mesh().boundaryMesh() ), slaveUncoveredPatchID_ ( dict.lookup("slaveUncoveredPatchName"), mme.mesh().boundaryMesh() ), repatchThreshold_ ( Foam::max ( SMALL, Foam::min(readScalar(dict.lookup("repatchThreshold")), 1 - SMALL) ) ), uncMaster_(), uncSlave_() { checkDefinition(); }
// Construct from dictionary Foam::layerAdditionRemoval::layerAdditionRemoval ( const word& name, const dictionary& dict, const label index, const polyTopoChanger& mme ) : polyMeshModifier(name, index, mme, Switch(dict.lookup("active"))), faceZoneID_(dict.lookup("faceZoneName"), mme.mesh().faceZones()), minLayerThickness_(readScalar(dict.lookup("minLayerThickness"))), maxLayerThickness_(readScalar(dict.lookup("maxLayerThickness"))), oldLayerThickness_(readOldThickness(dict)), pointsPairingPtr_(NULL), facesPairingPtr_(NULL), triggerRemoval_(-1), triggerAddition_(-1) { checkDefinition(); }
// Construct from components Foam::layerAdditionRemoval::layerAdditionRemoval ( const word& name, const label index, const polyTopoChanger& mme, const word& zoneName, const scalar minThickness, const scalar maxThickness ) : polyMeshModifier(name, index, mme, true), faceZoneID_(zoneName, mme.mesh().faceZones()), minLayerThickness_(minThickness), maxLayerThickness_(maxThickness), oldLayerThickness_(-1.0), pointsPairingPtr_(NULL), facesPairingPtr_(NULL), triggerRemoval_(-1), triggerAddition_(-1) { checkDefinition(); }