Go to the source code of this file.
Functions | |
if (maxValue-minValue< SMALL) | |
forAll (rrd, n) | |
while (!found &&(n< 100)) | |
Variables | |
scalar | delta = rs/factorGamma |
scalar | minValue = min(d/2.0, 0.04*rs) |
scalar | maxValue = rs*4.0 |
scalar | range = maxValue - minValue |
scalar | nExp = 3.5 |
FixedList< scalar, 100 > | rrd |
scalar | probFactorMin = exp(-pow(minValue/delta, nExp)) |
scalar | probFactorMax = exp(-pow(maxValue/delta, nExp)) |
scalar | probFactor = 1./(probFactorMin - probFactorMax) |
label | n = 0 |
bool | found = false |
scalar | random = rndGen.sample01<scalar>() |
rNew = minValue + range*(n - 0.5)/100.0 | |
if | ( | ) |
Definition at line 12 of file TABSMDCalcMethod2.H.
Definition at line 25 of file TABSMDCalcMethod2.H.
References Foam::exp(), n, and Foam::pow().
while | ( | !found && | n< 100 | ) |
Definition at line 35 of file TABSMDCalcMethod2.H.
scalar delta = rs/factorGamma |
Definition at line 5 of file TABSMDCalcMethod2.H.
scalar minValue = min(d/2.0, 0.04*rs) |
Definition at line 7 of file TABSMDCalcMethod2.H.
scalar maxValue = rs*4.0 |
Definition at line 8 of file TABSMDCalcMethod2.H.
Definition at line 10 of file TABSMDCalcMethod2.H.
scalar nExp = 3.5 |
Definition at line 18 of file TABSMDCalcMethod2.H.
FixedList<scalar, 100> rrd |
Definition at line 19 of file TABSMDCalcMethod2.H.
Definition at line 21 of file TABSMDCalcMethod2.H.
Definition at line 22 of file TABSMDCalcMethod2.H.
scalar probFactor = 1./(probFactorMin - probFactorMax) |
Definition at line 23 of file TABSMDCalcMethod2.H.
label n = 0 |
Definition at line 31 of file TABSMDCalcMethod2.H.
Referenced by greyMeanAbsorptionEmission::aCont(), wideBandAbsorptionEmission::aCont(), preserveBafflesConstraint::add(), distribution::add(), normalToFace::applyToSet(), setAndNormalToFaceZone::applyToSet(), Foam::average(), cellToFaceStencil::calcFaceStencil(), sampledSet::calcSign(), cyclicPolyPatch::calcTransforms(), multiComponentMixture< ThermoType >::cellMixture(), multiComponentMixture< ThermoType >::cellVolMixture(), TableBase< Type >::check(), interpolationTable< Type >::check(), interpolation2DTable< Type >::checkOrder(), triSurface::checkTriangles(), cyclicAMIPolyPatch::clone(), cellSizeFunction::coeffsDict(), triFace::collapse(), pointConstraint::combine(), directionalDiffusivity::correct(), motionDirectionalDiffusivity::correct(), contactAngleForce::correct(), LRR< BasicTurbulenceModel >::correct(), gaussGrad< Type >::correctBoundaryConditions(), dynamicRefineFvMesh::count(), meshRefinement::createZoneBaffles(), d2vec_part_quick_a(), d2vec_permute(), d2vec_sort_heap_index_a(), d2vec_sort_quick_a(), QRMatrix< MatrixType >::decompose(), absorptionEmissionModel::dict(), dmat_uniform(), dtris2(), Foam::duplicateOrder(), dvec_eq(), dvec_gt(), dvec_lt(), dvec_swap(), triSurfaceTools::edgeSide(), fluxCorrectedVelocityFvPatchVectorField::evaluate(), extrudePatchMesh::extrudePatchMesh(), primitiveMeshTools::faceFlatness(), hexRef8::faceLevel(), cellQuality::faceSkewness(), Foam::factorial(), refinementSurfaces::findAllHigherIntersections(), primitiveMesh::findCell(), searchableSurfaceCollection::findLine(), face::flip(), flowRateInletVelocityFvPatchVectorField::flowRateInletVelocityFvPatchVectorField(), forAll(), Foam::gAverage(), meshRefinement::gAverage(), get_edge_list(), get_num_edges_list(), boundaryMesh::getNearest(), treeDataFace::getVolumeType(), string::hash::hash(), particle< Type >::hitWallFaces(), if(), Distribution< Type >::index(), FreeStream< CloudType >::inflow(), MPPICCloud< CloudType >::info(), Foam::inplaceRotateList(), tetrahedron< Point, PointRef >::inside(), faceAreaWeightAMI< SourcePatch, TargetPatch >::interArea(), interpolationCellPointFace< Type >::interpolate(), Foam::interpolateSplineXY(), Foam::interpolateXY(), interpolation2DTable< Type >::interpolation2DTable(), intersectedSurface::intersectedSurface(), cellZoneSet::invert(), pointZoneSet::invert(), faceZoneSet::invert(), Foam::invertManyToMany(), wallBoundedParticle::isTriAlongTrack(), ivec_indicator(), ivec_sorted_unique(), temperatureCoupledBase::kappa(), lduPrimitiveMesh::lduPrimitiveMesh(), primitiveMesh::makeFaceCentresAndAreas(), mapDistribute::mapDistribute(), momentOfInertia::massPropertiesSolid(), conformalVoronoiMesh::maxSurfaceProtrusion(), cellToCellStencil::merge(), cellToFaceStencil::merge(), meshRefinement::mergeEdgesUndo(), Cloud< ParticleType >::move(), regionModel1D::moveMesh(), particle< Type >::movingTetLambda(), multiNormal::multiNormal(), Foam::mvBak(), NamedEnum< Enum, nEnum >::names(), surfaceLocation::normal(), face::normal(), meshWave::nUnset(), listPlusEqOp< T >::operator()(), minEqOp< labelPair >::operator()(), lessProcPatches::operator()(), sector::operator()(), TroeFallOffFunction::operator()(), powerSeriesReactionRate::operator()(), JanevReactionRate::operator()(), solidParticle::iNew::operator()(), interpolationTable< Type >::operator()(), string::operator()(), globalMeshData::ListPlusEqOp< T >::operator()(), KinematicParcel< ParcelType >::iNew::operator()(), partInfo::operator+=(), UPtrList< T >::iterator::operator+=(), UPtrList< T >::const_iterator::operator+=(), UPtrList< T >::iterator::operator-=(), UPtrList< T >::const_iterator::operator-=(), Foam::operator<<(), interpolationTable< Type >::operator[](), interpolationLookUpTable< Type >::operator[](), UPtrList< T >::iterator::operator[](), UPtrList< T >::const_iterator::operator[](), KinematicCloud< CloudType >::patchData(), multiComponentMixture< ThermoType >::patchFaceMixture(), multiComponentMixture< ThermoType >::patchFaceVolMixture(), perm_check(), perm_inv(), primitiveMesh::pointCells(), PatchTools::pointNormals(), points_delaunay_naive_2d(), surfaceRegion::processValues(), interpolationTable< Type >::rateOfChange(), triangle< Point, PointRef >::ray(), STARCD::readCells(), Foam::readLabel(), Foam::readULabel(), Foam::rotateList(), adiabaticPerfectFluid< Specie >::s(), s_len_trim(), general::sample(), multiNormal::sample(), mappedPatchBase::samplePoints(), rotorDiskSource::setFaceArea(), combineFaces::setRefinement(), addPatchCellLayer::setRefinement(), pressureInletOutletVelocityFvPatchVectorField::setTangentialVelocity(), List< T >::size(), cellQuality::skewness(), snappyRefineDriver::snappyRefineDriver(), ParSortableList< Type >::sort(), ensightFile::subDir(), TAB< CloudType >::TAB(), ThermoCloud< CloudType >::Tmax(), ThermoCloud< CloudType >::Tmin(), wallBoundedParticle::trackFaceTri(), wallBoundedParticle::trackToEdge(), fft::transform(), MeshedSurface< Face >::triangulate(), thermo< Thermo, Type >::typeName(), Foam::uniqueOrder(), TAB< CloudType >::update(), inclinedFilmNusseltHeightFvPatchScalarField::updateCoeffs(), movingWallVelocityFvPatchVectorField::updateCoeffs(), inclinedFilmNusseltInletVelocityFvPatchVectorField::updateCoeffs(), translatingWallVelocityFvPatchVectorField::updateCoeffs(), wideBandDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), SRFWallVelocityFvPatchVectorField::updateCoeffs(), mappedFlowRateFvPatchVectorField::updateCoeffs(), variableHeightFlowRateInletVelocityFvPatchVectorField::updateCoeffs(), pressureInletVelocityFvPatchVectorField::updateCoeffs(), greyDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), swirlFlowRateInletVelocityFvPatchVectorField::updateCoeffs(), rotatingWallVelocityFvPatchVectorField::updateCoeffs(), pressureNormalInletOutletVelocityFvPatchVectorField::updateCoeffs(), pressureInletOutletParSlipVelocityFvPatchVectorField::updateCoeffs(), pressureDirectedInletVelocityFvPatchVectorField::updateCoeffs(), pressureDirectedInletOutletVelocityFvPatchVectorField::updateCoeffs(), filmHeightInletVelocityFvPatchVectorField::updateCoeffs(), cellZoneSet::updateMesh(), pointZoneSet::updateMesh(), patchDistMethod::updateMesh(), faceZoneSet::updateMesh(), USERD_get_gold_part_build_info(), USERD_get_gold_variable_info(), USERD_get_maxsize_info(), USERD_get_nfaced_conn(), USERD_get_nfaced_nodes_per_face(), USERD_get_part_element_ids_by_type(), USERD_get_part_elements_by_type(), USERD_get_sol_times(), USERD_set_filenames(), while(), ensightFile::write(), streamLine::write(), wallBoundedStreamLine::write(), topoSet::writeDebug(), MeshedSurface< Face >::writeStats(), sha1streambuf::xsputn(), meshRefinement::zonify(), linearDistance::~linearDistance(), linearSpatial::~linearSpatial(), medialAxisMeshMover::~medialAxisMeshMover(), particle< Type >::~particle(), surfaceOffsetLinearDistance::~surfaceOffsetLinearDistance(), uniform::~uniform(), and uniformDistance::~uniformDistance().
bool found = false |
Definition at line 32 of file TABSMDCalcMethod2.H.
Referenced by directMethod::appendToDirectSeeds(), enrichedPatch::checkSupport(), meshRefinement::collectFaces(), laminar< Type >::correct(), argList::displayDoc(), cell::labels(), PrimitivePatch< Face, FaceList, PointField, PointType >::meshEdges(), NamedEnum< Enum, nEnum >::names(), Foam::operator==(), dictionary::parent(), argList::parse(), perm_check(), fvMeshDistribute::printCoupleInfo(), eddyViscosity< BasicTurbulenceModel >::R(), GeometricField< Type, PatchField, GeoMesh >::Boundary::readField(), timeSelector::select(), Time::setControls(), solution::solutionDict(), and fieldValueDelta::write().
scalar random = rndGen.sample01<scalar>() |
Definition at line 33 of file TABSMDCalcMethod2.H.
Definition at line 45 of file TABSMDCalcMethod2.H.