Go to the documentation of this file.
51 scalar denom = asqr*bsqr - adotb*adotb;
53 if (
mag(denom) < VSMALL)
60 scalar fact = 0.5*(bsqr - adotb)/denom;
62 point centre = 0.5*a + fact*((a ^
b) ^ a);
75 if (((r1 ^ r2) & (r1 ^ r3)) < 0.0)
86 if (
mag(tempAxis)/(
mag(r1)*
mag(r3)) < 0.001)
114 p1_(points_[start_]),
124 p1_(points_[start_]),
135 if (lambda < -SMALL || lambda > 1 + SMALL)
138 <<
"Parameter out of range, lambda = " <<
lambda
146 else if (
lambda > 1 - SMALL)
152 return cs_.globalPosition(
vector(radius_,
lambda*angle_, 0.0));
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
Unit conversion functions.
Cylindrical coordinate system.
dimensioned< scalar > mag(const dimensioned< Type > &)
point position(const scalar) const
Return the point position corresponding to the curve parameter.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
Pre-declare SubField and related Field type.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Macros for easy insertion into run-time selection tables.
errorManip< error > abort(error &err)
Vector< scalar > vector
A scalar version of the templated Vector.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
arcEdge(const arcEdge &)
Disallow default bitwise copy construct.
dimensionedScalar acos(const dimensionedScalar &ds)
scalar length() const
Return the length of the curve.
scalar radToDeg(const scalar rad)
Conversion from radians to degrees.
cylindricalCS calcAngle()
Calculate the coordinate system, angle and radius.
Define a curved edge that is parameterized for 0<lambda<1 between the start and end point.
defineTypeNameAndDebug(combustionModel, 0)
dimensionedScalar lambda(laminarTransport.lookup("lambda"))
scalar degToRad(const scalar deg)
Conversion from degrees to radians.