openfoam/src/OpenFOAM/primitives
Mark Olesen 4994456a28 ENH: add 2D det() / inv() methods for Tensor/SymmTensor (#2724)
- for cases where a 3D tensor is being used to represent 2D content,
  the determinant is zero. Can use inv2D(excludeDirection) to compensate
  and invert as if it were only 2D.

ENH: consistent definitions for magSqr of symmTensors, diagSqr() norm

COMP: return scalar not component type for magSqr

- had inconsistent definitions with SymmTensor returning the component
  type and Tensor returning scalar. Only evident with complex.
2023-03-23 10:31:54 +01:00
..
Barycentric ENH: supplementary vector comparison methods 2022-10-31 18:36:14 +01:00
Barycentric2D ENH: supplementary vector comparison methods 2022-10-31 18:36:14 +01:00
bools STYLE: merge EdgeMap definition into edgeHashes.H 2023-02-27 15:41:25 +01:00
chars STYLE: merge EdgeMap definition into edgeHashes.H 2023-02-27 15:41:25 +01:00
complex ENH: unroll loops for complexVector functions 2023-02-27 15:41:25 +01:00
coordinate ENH: IOobjectOption isAnyRead() for checking against NO_READ 2023-01-31 12:45:38 +01:00
demandDrivenEntry GIT: Header file updates 2019-10-31 14:48:44 +00:00
DiagTensor ENH: add 2D det() / inv() methods for Tensor/SymmTensor (#2724) 2023-03-23 10:31:54 +01:00
direction ENH: relocate zero_one to pTraits, allows reuse for scalar clamping 2023-02-27 15:41:25 +01:00
endian ENH: add dimensionedLabel typedef 2023-01-23 11:38:54 +01:00
enums STYLE: check iterator validity with good() instead of found() 2023-02-10 17:12:48 +01:00
functions ENH: relocate zero_one to pTraits, allows reuse for scalar clamping 2023-02-27 15:41:25 +01:00
globalIndexAndTransform ENH: more consistent use of broadcast, combineReduce etc. 2022-11-08 16:48:08 +00:00
hashes ENH: additional SHA1Digest constructors and methods 2023-03-23 10:31:54 +01:00
ints COMP: resolve clamp() float/double ambiguity (SPDP compilation) 2023-02-27 15:41:25 +01:00
MatrixSpace ENH: supplementary vector comparison methods 2022-10-31 18:36:14 +01:00
nullObject STYLE: replace zero::null usage with zero 2023-02-27 15:41:25 +01:00
ops ENH: define linear interpolations for scalar, complex, vector, tensor... 2023-01-23 14:55:08 +01:00
polynomialEqns ENH: supplementary vector comparison methods 2022-10-31 18:36:14 +01:00
predicates ENH: use min/max instead of first/last for int/slice ranges 2023-02-27 15:41:25 +01:00
quaternion ENH: quaternion ROLL_PITCH_YAW and YAW_PITCH_ROLL aliases/lookups 2022-06-02 11:14:10 +02:00
random/Random ENH: relocate zero_one to pTraits, allows reuse for scalar clamping 2023-02-27 15:41:25 +01:00
ranges ENH: use min/max instead of first/last for int/slice ranges 2023-02-27 15:41:25 +01:00
RowVector ENH: supplementary vector comparison methods 2022-10-31 18:36:14 +01:00
Scalar COMP: resolve clamp() float/double ambiguity (SPDP compilation) 2023-02-27 15:41:25 +01:00
septernion ENH: additional Field normalise method (#2444) 2022-04-28 15:31:44 +02:00
spatialVectorAlgebra ENH: relocate zero_one to pTraits, allows reuse for scalar clamping 2023-02-27 15:41:25 +01:00
SphericalTensor ENH: add 2D det() / inv() methods for Tensor/SymmTensor (#2724) 2023-03-23 10:31:54 +01:00
SphericalTensor2D ENH: add 2D det() / inv() methods for Tensor/SymmTensor (#2724) 2023-03-23 10:31:54 +01:00
strings STYLE: merge EdgeMap definition into edgeHashes.H 2023-02-27 15:41:25 +01:00
subModelBase ENH: subModelBase - added log data member 2022-12-09 11:01:06 +01:00
SymmTensor ENH: add 2D det() / inv() methods for Tensor/SymmTensor (#2724) 2023-03-23 10:31:54 +01:00
SymmTensor2D ENH: add 2D det() / inv() methods for Tensor/SymmTensor (#2724) 2023-03-23 10:31:54 +01:00
Tensor ENH: add 2D det() / inv() methods for Tensor/SymmTensor (#2724) 2023-03-23 10:31:54 +01:00
Tensor2D ENH: add 2D det() / inv() methods for Tensor/SymmTensor (#2724) 2023-03-23 10:31:54 +01:00
traits STYLE: replace zero::null usage with zero 2023-02-27 15:41:25 +01:00
transform ENH: define transform(symmTensor, int/float) as no-op 2023-01-23 11:38:54 +01:00
triad STYLE: use clamp/clamp_range instead of min(max(..., upper), lower) 2023-02-21 10:10:43 +01:00
tuples STYLE: merge EdgeMap definition into edgeHashes.H 2023-02-27 15:41:25 +01:00
Vector ENH: unroll loops for complexVector functions 2023-02-27 15:41:25 +01:00
Vector2D ENH: x/y, y/x comparison operators for Vector2D 2022-12-13 10:09:46 +01:00
VectorSpace ENH: relocate zero_one to pTraits, allows reuse for scalar clamping 2023-02-27 15:41:25 +01:00