- Oct 28, 2017
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- this increases the flexibility of the interface - Add stringOps 'natural' string sorting comparison. Digits are sorted in their natural order, which means that (file10.txt file05.txt file2.txt) are sorted as (file2.txt file05.txt file10.txt) STYLE: consistent naming of template parameters for comparators - Compare for normal binary predicates - ListComparePredicate for list compare binary predicates
-
Mark OLESEN authored
-
Mark OLESEN authored
- similar to word::validate to allow stripping of invalid characters without triggering a FatalError. - use this validated fileName in Foam::readDir to avoid problems when a directory contains files with invalid characters in their names - adjust rmDir to handle filenames with invalid characters - fileName::equals() static method to compare strings while ignoring any differences that are solely due to duplicate slashes
-
Mark OLESEN authored
- more consistent naming: * Versions that hold and manage their own memory: IListStream, OListStream * Versions that reference a fixed size external memory: UIListStream, UOListStream - use List storage instead of DynamicList within OListStream. Avoids duplicate bookkeeping, more direct handling of resizing.
-
Mark OLESEN authored
- makes it accessible for containers that manage their own storage and derive directly from UList. - DynamicList::min_size() method to access the corresponding SizeMin template parameter. - ensure consistency in the reserve size for the constructor DynamicList<..> lst(N); now has identical sizing as DynamicList<..> lst(); reserve(N);
-
Mark OLESEN authored
ENH: Arrhenius viscocity model for incompressible viscocity See merge request !155
-
- Arrhenius viscocity model for incompressible viscocity. - energyTransport FO for incompressible single and multiple phase flows and viscousDissipation fvOption source. - Tutorial to show the use of energyTransport: multiphase/multiphaseInterFoam/laminar/mixerVessel2D - Tutorial to show viscousDissipation: compressible/rhoPimpleFoam/RAS/TJunction
-
- Oct 26, 2017
- Oct 25, 2017
-
-
Mark OLESEN authored
- The problem occurs when using atof to parse values such as "1e-39" since this is out of range for a float and _can_ set errno to ERANGE. Similar to parsing of integers, now parse with the longest floating point representation "long double" via strtold (guaranteed to be part of C++11) and verify against the respective VGREAT values for overflow. Treat anything smaller than VSMALL to be zero.
-
mattijs authored
-
mattijs authored
-
mattijs authored
-
- Oct 24, 2017
-
-
Mark OLESEN authored
CONFIG: add settings for Cray compiler and cray mpich See merge request !138
-
Mark OLESEN authored
- the cray C/C++ compilers appear to be option-compatible with gcc. - no wmake rules for 32bit builds (deemed to be unnecessary)
-
Andrew Heather authored
low-level binary Ostream output, additional stream classes See merge request !156
-
Mark OLESEN authored
- reduce coding clutter, avoiding allocated pointers when possible. IFstream and OFstream continue to use pointers since they handle compressed files, other streams can do without them.
-
Mark OLESEN authored
- an output stream to a DynamicList
-
Mark OLESEN authored
- these provide a similar functionality to string-streams, but operate on a externally provided memory buffer which can be used to reduce the amount of copying. - classes were previously staged as part of the ADIOS community repository.
-
Mark OLESEN authored
- for convenience and symmetry with OStringStream STYLE: void return value for stream rewind() methods - this makes it easier to design bidirectional streams
-
Mark OLESEN authored
- low-level beginRaw(), writeRaw(), endRaw() methods. These can be used to directly add '()' decorators for serial output or prepare/cleanup parallel buffers. Used, for example, when outputting indirect lists in binary to avoid.
-
Mark OLESEN authored
- now use public functions instead of direct access of private 'capacity_' information
-
- Oct 23, 2017
-
-
Mark OLESEN authored
- makes it easier to transmit or stream as a list of scalars
-
Mark OLESEN authored
-
Mark OLESEN authored
- the USE_OMP preprocessor symbol is also defined with the openmp compile flag to allow conditional compilation of openmp-specific code.
-
Mark OLESEN authored
-
Mark OLESEN authored
-
- Oct 20, 2017
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
- better documentation of the file contents. - quicker to obtain number of blocks without reading an entire file.
-
-
- Oct 13, 2017
-
-
Andrew Heather authored
-
Mark OLESEN authored
-
- Oct 12, 2017
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- used in various places to test if the input can be parsed as a label/scalar, so warnings tend to flood the output. - be more explicit when encountering range errors
-
Mark OLESEN authored
-
- Oct 11, 2017
-
-
Mark OLESEN authored
-