61 <<
"--> FOAM IOWarning :" <<
nl
62 <<
" Found [v1806] 'degrees' keyword in dictionary \""
236 vector ax2(global - origin_);
240 const scalar magAxis2(
mag(ax2));
243 if (magAxis2 < SMALL)
252 rotTensor.
col<0>(ax2);
253 rotTensor.
col<1>(ax1^ax2);
279 const label len = local.
size();
282 auto& result = tresult.ref();
284 for (label i=0; i<len; ++i)
317 const label len = global.
size();
323 auto& result = tresult.
ref();
325 for (label i=0; i<len; ++i)
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Vector< Cmpt > col() const
Extract vector for given column: compile-time check of index.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
void size(const label n)
Older name for setAddressableSize.
const Cmpt & z() const
Access to the vector z component.
const Cmpt & y() const
Access to the vector y component.
const Cmpt & x() const
Access to the vector x component.
Vector< Cmpt > & removeCollinear(const Vector< Cmpt > &unitVec)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A cylindrical coordinate system (r-theta-z). The coordinate system angle theta is always in radians.
virtual vector globalToLocal(const vector &global, bool translate) const
virtual vector localToGlobal(const vector &local, bool translate) const
static const cylindrical null
Global (identity) cylindrical coordinate system.
cylindrical()
Default construct. This is an identity coordinate system.
virtual const tensor & R() const
Position-dependent rotation tensors at multiple points.
User specification of a coordinate rotation.
Base class for coordinate system specification, the default coordinate system type is cartesian .
virtual vector globalToLocal(const vector &global, bool translate) const
virtual vector localToGlobal(const vector &local, bool translate) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary.
fileName relativeName(const bool caseTag=false) const
The dictionary name relative to the case.
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
splitCell * master() const
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
#define defineTypeName(Type)
Define the typeName.
const word dictName("faMeshDefinition")
static vector toCartesian(const vector &v)
Convert to Cartesian (from Cylindrical)
dimensionedScalar sin(const dimensionedScalar &ds)
static void warnCompatDegrees(const Foam::dictionary &dict)
dimensionedScalar atan2(const dimensionedScalar &x, const dimensionedScalar &y)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
dimensionedScalar hypot(const dimensionedScalar &x, const dimensionedScalar &y)
static vector fromCartesian(const vector &v)
Convert from Cartesian (to Cylindrical)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
dimensionedScalar cos(const dimensionedScalar &ds)
constexpr char nl
The newline '\n' character (0x0a)