Generic dimensioned Type class. More...
Public Types | |
typedef Type | value_type |
typedef pTraits< Type >::cmptType | cmptType |
Static Public Member Functions | |
static dimensioned< Type > | getOrDefault (const word &name, const dictionary &dict, const dimensionSet &dims=dimless, const Type &deflt=Type(Zero)) |
static dimensioned< Type > | getOrDefault (const word &name, const dictionary &dict, const Type &deflt=Type(Zero)) |
static dimensioned< Type > | getOrAddToDict (const word &name, dictionary &dict, const dimensionSet &dims=dimless, const Type &deflt=Type(Zero)) |
static dimensioned< Type > | getOrAddToDict (const word &name, dictionary &dict, const Type &deflt=Type(Zero)) |
static dimensioned< Type > | lookupOrDefault (const word &name, const dictionary &dict, const dimensionSet &dims=dimless, const Type &deflt=Type(Zero)) |
static dimensioned< Type > | lookupOrDefault (const word &name, const dictionary &dict, const Type &deflt=Type(Zero)) |
static dimensioned< Type > | lookupOrAddToDict (const word &name, dictionary &dict, const dimensionSet &dims=dimless, const Type &deflt=Type(Zero)) |
static dimensioned< Type > | lookupOrAddToDict (const word &name, dictionary &dict, const Type &deflt=Type(Zero)) |
Friends | |
Istream & | operator>> (Istream &is, dimensioned< Type > &dt) |
typedef Type value_type |
Definition at line 113 of file dimensionedType.H.
Definition at line 116 of file dimensionedType.H.
dimensioned | ( | ) |
Definition at line 106 of file dimensionedType.C.
|
explicit |
Definition at line 115 of file dimensionedType.C.
|
explicit |
Definition at line 125 of file dimensionedType.C.
|
explicit |
Definition at line 138 of file dimensionedType.C.
|
inline |
Definition at line 134 of file dimensionedType.H.
dimensioned | ( | const dimensionSet & | dims, |
const Type & | val | ||
) |
Definition at line 151 of file dimensionedType.C.
dimensioned | ( | const word & | name, |
const dimensionSet & | dims, | ||
const Type & | val | ||
) |
Definition at line 164 of file dimensionedType.C.
dimensioned | ( | const word & | name, |
const dimensioned< Type > & | dt | ||
) |
Definition at line 178 of file dimensionedType.C.
|
explicit |
Definition at line 191 of file dimensionedType.C.
|
explicit |
Definition at line 210 of file dimensionedType.C.
dimensioned | ( | const word & | name, |
const dictionary & | dict | ||
) |
Definition at line 230 of file dimensionedType.C.
dimensioned | ( | const word & | name, |
const dimensionSet & | dims, | ||
const dictionary & | dict | ||
) |
Definition at line 246 of file dimensionedType.C.
dimensioned | ( | const word & | name, |
const dimensionSet & | dims, | ||
const dictionary & | dict, | ||
const word & | entryName | ||
) |
entryName | dictionary lookup name |
Definition at line 263 of file dimensionedType.C.
dimensioned | ( | const word & | name, |
const dimensionSet & | dims, | ||
const Type & | val, | ||
const dictionary & | dict | ||
) |
Definition at line 281 of file dimensionedType.C.
|
explicit |
Definition at line 298 of file dimensionedType.C.
dimensioned | ( | const word & | name, |
Istream & | is | ||
) |
Definition at line 308 of file dimensionedType.C.
dimensioned | ( | const word & | name, |
const dimensionSet & | dims, | ||
Istream & | is | ||
) |
Definition at line 322 of file dimensionedType.C.
|
static |
|
static |
|
static |
|
static |
const Foam::word & name | ( | ) | const |
Definition at line 399 of file dimensionedType.C.
Referenced by Foam::atan2(), Foam::cbrt(), Foam::checkMethod(), Foam::cof(), Foam::fac::d2dt2(), Foam::fvc::ddt(), Foam::fac::ddt(), Foam::fvm::ddt(), Foam::det(), Foam::dev(), Foam::dev2(), Foam::eigenValues(), Foam::eigenVectors(), EulerFaD2dt2Scheme< Type >::facD2dt2(), steadyStateFaDdtScheme< Type >::facDdt(), EulerFaDdtScheme< Type >::facDdt(), backwardFaDdtScheme< Type >::facDdt(), boundedBackwardFaDdtScheme::facDdt(), steadyStateFaDdtScheme< Type >::facDdt0(), EulerFaDdtScheme< Type >::facDdt0(), backwardFaDdtScheme< Type >::facDdt0(), boundedBackwardFaDdtScheme::facDdt0(), forAll(), steadyStateDdtScheme< Type >::fvcDdt(), EulerDdtScheme< Type >::fvcDdt(), CoEulerDdtScheme< Type >::fvcDdt(), SLTSDdtScheme< Type >::fvcDdt(), backwardDdtScheme< Type >::fvcDdt(), localEulerDdtScheme< Type >::fvcDdt(), CrankNicolsonDdtScheme< Type >::fvcDdt(), CrankNicolsonDdtScheme< Type >::fvmDdt(), Foam::innerSqr(), Foam::inv(), dimensioned< Type >::lookupOrAddToDict(), dimensioned< Type >::lookupOrDefault(), Foam::mapClouds(), UniformDimensionedField< vector >::name(), Foam::neg(), Foam::neg0(), Foam::negPart(), seriesLess::operator()(), Foam::operator*(), Time::operator++(), Foam::operator==(), Foam::pos(), Foam::pos0(), Foam::posPart(), Foam::pow(), Foam::pow025(), Foam::pow3(), Foam::pow4(), Foam::pow5(), Foam::pow6(), Time::readDict(), Time::setTime(), Foam::sign(), Foam::skew(), multiphaseSystem::solve(), Foam::sqr(), Foam::sqrt(), Foam::stabilise(), Foam::symm(), Time::timeName(), Foam::tr(), Foam::twoSymm(), dimensionSet::write(), and regionSizeDistribution::write().
Foam::word & name | ( | ) |
Definition at line 406 of file dimensionedType.C.
const Foam::dimensionSet & dimensions | ( | ) | const |
Definition at line 413 of file dimensionedType.C.
Referenced by ObukhovLength::calcOL(), DarcyForchheimer::calcTransformModelData(), Foam::cbrt(), Foam::checkMethod(), Foam::cof(), relaxation::correct(), Foam::det(), Foam::dev(), Foam::dev2(), dimensionSets::dimensionSets(), Foam::eigenValues(), comfort::execute(), EulerFaD2dt2Scheme< Type >::facD2dt2(), steadyStateFaDdtScheme< Type >::facDdt(), EulerFaDdtScheme< Type >::facDdt(), backwardFaDdtScheme< Type >::facDdt(), boundedBackwardFaDdtScheme::facDdt(), steadyStateFaDdtScheme< Type >::facDdt0(), EulerFaDdtScheme< Type >::facDdt0(), backwardFaDdtScheme< Type >::facDdt0(), boundedBackwardFaDdtScheme::facDdt0(), EulerD2dt2Scheme< Type >::fvcD2dt2(), steadyStateDdtScheme< Type >::fvcDdt(), EulerDdtScheme< Type >::fvcDdt(), CoEulerDdtScheme< Type >::fvcDdt(), backwardDdtScheme< Type >::fvcDdt(), SLTSDdtScheme< Type >::fvcDdt(), localEulerDdtScheme< Type >::fvcDdt(), CrankNicolsonDdtScheme< Type >::fvcDdt(), steadyStateDdtScheme< Type >::fvmDdt(), EulerDdtScheme< Type >::fvmDdt(), CoEulerDdtScheme< Type >::fvmDdt(), backwardDdtScheme< Type >::fvmDdt(), SLTSDdtScheme< Type >::fvmDdt(), localEulerDdtScheme< Type >::fvmDdt(), ddtScheme< Type >::fvmDdt(), CrankNicolsonDdtScheme< Type >::fvmDdt(), Foam::innerSqr(), Foam::inv(), Foam::makeDimensionedMinMax(), Foam::neg(), Foam::neg0(), Foam::negPart(), optionList::operator()(), Foam::operator*(), Foam::pos(), Foam::pos0(), Foam::posPart(), Foam::pow(), Foam::pow025(), Foam::pow3(), Foam::pow4(), Foam::pow5(), Foam::pow6(), dimensionSet::read(), Foam::sign(), Foam::skew(), Foam::fam::Sp(), Foam::sqr(), Foam::sqrt(), Foam::stabilise(), Foam::symm(), Foam::tr(), and Foam::twoSymm().
Foam::dimensionSet & dimensions | ( | ) |
Definition at line 420 of file dimensionedType.C.
const Type & value | ( | ) | const |
Definition at line 427 of file dimensionedType.C.
Referenced by tabulated6DoFAcceleration::acceleration(), objective::accumulateJMean(), interRegionHeatTransferModel::addSup(), solidificationMeltingSource::addSup(), powerLawUniformBinary::addToBinaryBreakupRate(), hydrodynamic::addToCoalescenceRate(), wallBoiling::addToNucleationRate(), Time::adjustDeltaT(), porosityModel::adjustNegativeResistance(), Foam::adjustPhi(), maxDurationCondition::apply(), Foam::atan2(), surfaceWriter::beginTime(), Foam::bound(), NonInertialFrameForce< CloudType >::cacheFields(), SprayParcel::calcAtomization(), BrownianMotionForce< CloudType >::calcCoupled(), ThermoParcel::calcHeatTransfer(), SRFForce< CloudType >::calcNonCoupled(), ParamagneticForce< CloudType >::calcNonCoupled(), powerLaw::calcNu(), DarcyForchheimer::calcTransformModelData(), viewFactor::calculate(), MultiComponentPhaseModel< BasePhaseModel, phaseThermo >::calculateVolumeFractions(), Foam::cbrt(), SIMPLEControlSingleRun::checkEndTime(), timeVaryingMappedFixedValuePointPatchField< Type >::checkTable(), GeometricField< scalar, faPatchField, areaMesh >::clip(), Foam::cof(), fixedTemperatureConstraint::constrain(), constantNucleation::correct(), BrunDrippingInjection::correct(), adjointSpalartAllmaras::correct(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::correctInterfaceThermo(), liquidFilmBase::CourantNumber(), logFiles::createFiles(), curvatureSeparation::curvatureSeparation(), filmTurbulenceModel::Cw(), thermoCoupleProbes::derivatives(), DEShybrid< Type >::DEShybrid(), Foam::det(), Foam::dev(), Foam::dev2(), adjointSpalartAllmaras::diffusionCoeffVar1(), Foam::eigenValues(), Foam::eigenVectors(), engineMesh::engineMesh(), ThermoCloud< CloudType >::Ep(), DSMCCloud< ParcelType >::equipartitionInternalEnergy(), dimensionedScalarEntry::evaluate(), comfort::execute(), exprResult::exprResult(), EulerFaD2dt2Scheme< Type >::facD2dt2(), EulerFaDdtScheme< Type >::facDdt(), backwardFaDdtScheme< Type >::facDdt(), boundedBackwardFaDdtScheme::facDdt(), EulerFaDdtScheme< Type >::facDdt0(), backwardFaDdtScheme< Type >::facDdt0(), boundedBackwardFaDdtScheme::facDdt0(), forAll(), interfaceTrackingFvMesh::freeSurfacePressureJump(), basicCombustionMixture::fres(), EulerD2dt2Scheme< Type >::fvcD2dt2(), EulerDdtScheme< Type >::fvcDdt(), CoEulerDdtScheme< Type >::fvcDdt(), backwardDdtScheme< Type >::fvcDdt(), SLTSDdtScheme< Type >::fvcDdt(), CrankNicolsonDdtScheme< Type >::fvcDdt(), waveMakerPointPatchVectorField::g(), populationBalanceModel::gamma(), if(), reactingOneDim::info(), InjectionModel< CloudType >::injectSteadyState(), Foam::innerSqr(), Foam::inv(), Foam::invTransform(), objective::isWithinIntegrationTime(), heatTransferModel::K(), laminarFlameSpeed::laminarFlameSpeed(), hexRef8::level0EdgeLength(), pressureControl::limit(), ArdenBuck::lnPSat(), adjointSimple::mainIter(), Foam::makeDimensionedMinMax(), Foam::max(), GeometricField< scalar, faPatchField, areaMesh >::max(), Foam::min(), GeometricField< scalar, faPatchField, areaMesh >::min(), egrMixture< ThermoType >::mixture(), inhomogeneousMixture< ThermoType >::mixture(), Foam::neg(), Foam::neg0(), Foam::negPart(), Schaeffer::nu(), JohnsonJacksonSchaeffer::nu(), Foam::operator!=(), seriesLess::operator()(), Instant< T >::less::operator()(), Foam::operator*(), Foam::operator+(), Time::operator+=(), Foam::operator-(), Foam::operator<(), Foam::operator<<(), Foam::operator==(), Foam::operator>(), Foam::operator>>(), Foam::oversetAdjustPhi(), PatchFlowRateInjection< CloudType >::parcelsToInject(), freePiston::pistonPosition(), pointHistory::pointHistory(), Foam::pos(), Foam::pos0(), Foam::posPart(), Foam::pow(), Foam::pow025(), Foam::pow3(), Foam::pow4(), Foam::pow5(), Foam::pow6(), dimensionSet::read(), comfort::read(), Time::readDict(), SIMPLEControlSingleRun::readIters(), GeometricField< scalar, faPatchField, areaMesh >::replace(), incompressibleTwoPhaseInteractingMixture::rho(), rpm::rpm(), timeSelector::selectIfPresent(), powerLaw::setBreakupRate(), exponential::setBreakupRate(), Time::setDeltaT(), Time::setEndTime(), vtmWriter::setTime(), Time::setTime(), masterUncollatedFileOperation::setTime(), constantRadiation::Shs(), Foam::sign(), Foam::skew(), sixDoFRigidBodyMotionSolver::solve(), rigidBodyMeshMotionSolver::solve(), rigidBodyMeshMotion::solve(), thermalBaffle::solveEnergy(), Foam::fam::Sp(), Foam::fvc::spreadSource(), Foam::sqr(), Foam::sqrt(), Foam::stabilise(), particle< Type >::stepFractionSpan(), Foam::symm(), freePiston::theta(), TimeState::timeOutputValue(), Foam::tr(), Foam::transform(), linearMotion::transformation(), multiMotion::transformation(), oscillatingLinearMotion::transformation(), oscillatingRotatingMotion::transformation(), drivenLinearMotion::transformation(), rotatingMotion::transformation(), tabulated6DoFMotion::transformation(), Foam::twoSymm(), interfaceTrackingFvMesh::update(), oscillatingDisplacementPointPatchVectorField::updateCoeffs(), waveDisplacementPointPatchVectorField::updateCoeffs(), oscillatingVelocityPointPatchVectorField::updateCoeffs(), angularOscillatingDisplacementPointPatchVectorField::updateCoeffs(), angularOscillatingVelocityPointPatchVectorField::updateCoeffs(), JohnsonJacksonParticleSlipFvPatchVectorField::updateCoeffs(), JohnsonJacksonParticleThetaFvPatchScalarField::updateCoeffs(), fixedIncidentRadiationFvPatchScalarField::updateCoeffs(), MarshakRadiationFvPatchScalarField::updateCoeffs(), fixedPressureCompressibleDensityFvPatchScalarField::updateCoeffs(), MarshakRadiationFixedTemperatureFvPatchScalarField::updateCoeffs(), SRFFreestreamVelocityFvPatchVectorField::updateCoeffs(), PatchFlowRateInjection< CloudType >::volumeToInject(), fvMesh::Vsc(), fvMesh::Vsc0(), FacePostProcessing< CloudType >::write(), specieReactionRates< ChemistryModelType >::write(), dsmcFields::write(), ParticleCollector< CloudType >::write(), sizeDistribution::write(), dimensionSet::write(), objective::write(), regionSizeDistribution::write(), sizeDistribution::writeFileHeader(), objective::writeInstantaneousValue(), and objective::writeMeanValue().
Type & value | ( | ) |
Definition at line 434 of file dimensionedType.C.
Foam::dimensioned< typename Foam::dimensioned< Type >::cmptType > component | ( | const direction | d | ) | const |
Definition at line 443 of file dimensionedType.C.
Referenced by Foam::ComplexField(), Foam::ReComplexField(), and coordinateScaling< Type >::transform().
void replace | ( | const direction | d, |
const dimensioned< cmptType > & | dc | ||
) |
Definition at line 458 of file dimensionedType.C.
dimensioned<Type> T | ( | ) | const |
Referenced by eddy::eddy(), Foam::inv(), leastSquares::stencilWeights(), and SVD::VSinvUt().
bool read | ( | const dictionary & | dict | ) |
Definition at line 469 of file dimensionedType.C.
Referenced by Foam::unitSet().
bool readIfPresent | ( | const dictionary & | dict | ) |
Definition at line 476 of file dimensionedType.C.
Referenced by crankConRod::crankConRod(), ShihQuadraticKE::read(), LamBremhorstKE::read(), qZeta::read(), LienLeschziner::read(), LienCubicKE::read(), SpalartAllmarasDES< BasicTurbulenceModel >::read(), SpalartAllmaras< BasicTurbulenceModel >::read(), kkLOmega::read(), adjointSpalartAllmaras::read(), and sixDoFRigidBodyMotionSolver::solve().
bool read | ( | const word & | entryName, |
const dictionary & | dict | ||
) |
Definition at line 484 of file dimensionedType.C.
bool readIfPresent | ( | const word & | entryName, |
const dictionary & | dict | ||
) |
Definition at line 496 of file dimensionedType.C.
Foam::Istream & read | ( | Istream & | is, |
const dictionary & | readSet | ||
) |
Definition at line 530 of file dimensionedType.C.
Foam::Istream & read | ( | Istream & | is, |
const HashTable< dimensionedScalar > & | readSet | ||
) |
Definition at line 550 of file dimensionedType.C.
Definition at line 573 of file dimensionedType.C.
Foam::dimensioned< typename Foam::dimensioned< Type >::cmptType > operator[] | ( | const direction | d | ) | const |
Definition at line 602 of file dimensionedType.C.
void operator+= | ( | const dimensioned< Type > & | dt | ) |
Definition at line 612 of file dimensionedType.C.
void operator-= | ( | const dimensioned< Type > & | dt | ) |
Definition at line 623 of file dimensionedType.C.
void operator*= | ( | const scalar | s | ) |
Definition at line 634 of file dimensionedType.C.
void operator/= | ( | const scalar | s | ) |
Definition at line 644 of file dimensionedType.C.
|
inlinestatic |
Definition at line 401 of file dimensionedType.H.
|
inlinestatic |
Definition at line 414 of file dimensionedType.H.
|
inlinestatic |
Definition at line 427 of file dimensionedType.H.
|
inlinestatic |
Definition at line 441 of file dimensionedType.H.
|
friend |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.