Foam::expressions::Detail Namespace Reference

A namespace for implementation details related to expressions. More...

Classes

union  exprValueUnion
 The data content (as a union). More...
 

Functions

::Foam::direction nComponents (const expressions::valueTypeCode) noexcept
 The number of components associated with given valueTypeCode. More...
 
::Foam::direction rank (const expressions::valueTypeCode) noexcept
 The vector-space rank associated with given valueTypeCode. More...
 

Detailed Description

A namespace for implementation details related to expressions.

Function Documentation

◆ nComponents()

Foam::direction nComponents ( const expressions::valueTypeCode  typeCode)
noexcept

The number of components associated with given valueTypeCode.

Definition at line 40 of file exprTraits.C.

References doLocalCode, and FOR_ALL_EXPR_TYPE_CODES.

Referenced by Distribution< Type >::add(), coordSetWriter::adjustFieldTemplate(), surfaceWriter::adjustFieldTemplate(), porosityModel::adjustNegativeResistance(), anisotropicFilter::anisotropicFilter(), uniformBin::binAddr(), Field< Foam::vector >::block(), boundBox::box_sphere_overlaps(), treeBoundBox::calcExtremities(), primitiveMeshTools::cellClosedness(), primitiveMeshTools::cellDeterminant(), geomDecomp::checkDecompositionDirections(), SolverPerformance< Type >::checkSingularity(), Distribution< Type >::clear(), CollidingParcel< ParcelType >::CollidingParcel(), VectorSpace< Form, Cmpt, Ncmpts >::ConstBlock< SubVector, BStart >::ConstBlock(), Foam::meshTools::constrainDirection(), Foam::meshTools::constrainToMeshCentre(), treeBoundBox::contains(), IntegralScaleBox< Type >::convolve(), coordinateScaling< Foam::vector >::coordinateScaling(), correctedLnGrad< Type >::correction(), fourthLnGrad< Type >::correction(), cubic< Type >::correction(), linearUpwind< Type >::correction(), correctedSnGrad< Type >::correction(), faceCorrectedSnGrad< Type >::correction(), skewCorrectedSnGrad< Type >::correction(), IntegralScaleBox< Type >::correlate(), meshRefinement::countFaceDirs(), Distribution< Type >::cumulativeNormalised(), Distribution< Type >::cumulativeRaw(), displacementInterpolationMotionSolver::curPoints(), DSMCParcel< ParcelType >::DSMCParcel(), findCellParticle::findCellParticle(), searchableBox::findLine(), searchableBox::findNearestOnEdge(), coordinateRotation::findOrthogonal(), faMatrix< Type >::flux(), fvMatrix< Type >::flux(), Foam::vtk::Tools::foamToVtkTuple(), fft::forwardTransform(), skewCorrectedSnGrad< Type >::fullGradCorrection(), Random::GaussNormal(), get_geom_list(), faMatrix< Type >::H(), fvMatrix< Type >::H(), boundBox::inflate(), uniformBin::initialise(), solverInfo::initialiseResidualField(), injectedParticle::injectedParticle(), boundBox::intersects(), KinematicParcel< ParcelType >::KinematicParcel(), Foam::less(), cellMDLimitedGrad< Type >::limitFace(), cellLimitedGrad< Type, Limiter >::limitFace(), Foam::fvc::magSqrGradGrad(), makeFaGradScheme(), oversetFvPatchField< Type >::manipulateMatrix(), boundBox::maxDir(), Distribution< Type >::mean(), Distribution< Type >::median(), boundBox::minDir(), molecule::molecule(), MPPICParcel< ParcelType >::MPPICParcel(), exprValue::nComponents(), boundBox::nDim(), oversetFvMeshBase::normalisation(), Distribution< Type >::normalised(), anisotropicFilter::operator()(), Foam::operator>>(), searchableSphere::overlaps(), Random::position(), SolverPerformance< Type >::print(), genericPatchFieldBase::processEntry(), particleDistribution::processField(), surfaceFieldValue::processSameTypeValues(), volFieldValue::processValues(), radiativeIntensityRay::radiativeIntensityRay(), Distribution< Type >::raw(), uniformBin::read(), particle< Type >::readData(), ensightSurfaceReader::readField(), ensightSurfaceReader::readGeometry(), Foam::readScaling(), IntegralScaleBox< Type >::refill(), PDRblock::reset(), faMatrix< Type >::residual(), fvMatrix< Type >::residual(), sphericalAngularSpring::restrain(), fft::reverseTransform(), Random::sample01(), IntegralScaleBox< Type >::shift(), SolverPerformance< Type >::singular(), skewCorrectedEdgeInterpolation< Type >::skewCorrection(), skewCorrected< Type >::skewCorrection(), solidParticle::solidParticle(), faMatrix< Type >::solve(), fvMatrix< Type >::solveSegregated(), SprayParcel< ParcelType >::SprayParcel(), expressionEntry::toExprStr(), accessor::toString(), trackedParticle::trackedParticle(), coordinateScaling< Foam::vector >::transform(), objectiveForce::update_dxdbMultiplier(), objectiveMoment::update_dxdbMultiplier(), surfaceDisplacementPointPatchVectorField::updateCoeffs(), solverInfo::updateSolverInfo(), Polynomial< Type >::userTimeToTime(), wallBoundedParticle::wallBoundedParticle(), writeCellCentres::write(), Distribution< Type >::write(), regionSizeDistribution::write(), binModel::writeComponents(), Foam::writeData(), PDRblock::gridControl::writeDict(), nastranWriter::writeFaceValue(), Foam::ensightOutput::Detail::writeFieldComponents(), uniformBin::writeFileHeader(), solverInfo::writeFileHeader(), particle< Type >::writePropertyName(), writer::writeSolution(), coordSetWriter::writeTable(), abaqusWriter::writeTemplate(), writeFile::writeValue(), volFieldValue::writeValues(), and surfaceFieldValue::writeValues().

◆ rank()