openfoam/applications/test/pTraits
Mark Olesen 98ccb7df6b ENH: extend VectorSpace traits to include pTraits_cmptType
- The pTraits_cmptType returns the data type of 'cmptType' (for
  arithmetic and VectorSpace types) or is simply a pass-through.

  This can be combined with the pTraits_nComponents for casting.
  For example,

  function
  (
      reinterpret_cast<pTraits_cmptType<Type>::type*>(buf.data()),
      (buf.size()/pTraits_nComponents<Type>::value)
  );

ENH: extend Foam::identityOp so support array indexing (pass-through)
2023-11-07 10:33:47 +01:00
..
Make STYLE: use finiteVolume in Make/options placeholder 2019-02-24 17:32:13 +01:00
Test-pTraits.C ENH: extend VectorSpace traits to include pTraits_cmptType 2023-11-07 10:33:47 +01:00