openfoam/applications/test/zoneDistribute
Mark Olesen 40567b844a DEFEATURE: remove construct List from two iterators (#2083)
- this constructor was added for similarity with std::vector,
  but continues to cause various annoyances.

  The main problem is that the templated parameter tends to grab
  anything that is not a perfect match for other constructors.

  Typically seen with two integers (in 64-bit mode), but various other
  cases as well.

  If required, the ListOps::create() function provides a lengthier
  alternative but one that can also incorporate transformations.
  Eg,

      pointField pts = ....;

      List<scalar> mags
      (
          List<scalar>::create
          (
              pts.begin(),
              pts.end(),
              [](const vector& v){ return magSqr(v); }
      );
2021-05-12 11:24:57 +02:00
..
case1 RELEASE: Updated version to v2012 2020-12-23 10:01:39 +01:00
Make CONT: Addition of compressibleIsoInterFOam and PLIC 2020-06-09 08:11:04 +01:00
Test-zoneDistribute.C DEFEATURE: remove construct List from two iterators (#2083) 2021-05-12 11:24:57 +02:00