- Apr 08, 2018
-
-
Mark OLESEN authored
- less efficient and less portable than using single-pass processing
-
- Apr 10, 2018
-
-
Mark OLESEN authored
Support the following expansions when they occur at the start of a string: Short-form Equivalent ========= =========== <etc>/ ~OpenFOAM/ (as per foamEtcFile) <case>/ $FOAM_CASE/ <constant>/ $FOAM_CASE/constant/ <system>/ $FOAM_CASE/system/ These can be used in fileName expansions to improve clarity and reduce some typing "<constant>/reactions" vs "$FOAM_CASE/constant/reactions"
-
- Apr 11, 2018
-
-
Mark OLESEN authored
ParaView 5.4 and older: - requires lib/paraview-X.X only ParaView 5.5: - requires lib/ - does not appear to require lib/paraview-X.X, but retained for simplicity - Change default version to paraview-5.5.0 for testing purposes
-
- Apr 10, 2018
-
-
Mark OLESEN authored
-
- Apr 09, 2018
-
-
Mark OLESEN authored
- this removes an OS-specific dependency (eg, drand48_r is not POSIX) and allows easier use of other random number generators. The Rand48 generator has identical behaviour and period as the lrand48() library routine, but holds its own seed and state (which makes it re-entrant) and can be combined with other random distributions. However, when using the modified form to obtain scalar values they will not be identical to what drand48() yields. This is because drand48() uses the raw 48-bit values to directly set the mantissa of an IEEE double where as the newer distribution normalizes based on the 32-bit value. STYLE: simplify code in Random::shuffle and use Swap
-
- Apr 11, 2018
-
-
Mark OLESEN authored
- quick ignore of empty filenames. - relocated some implementation details from POSIX.C to the fileStat class, where they make more sense.
-
Mark OLESEN authored
-
Mark OLESEN authored
- was using st_atim instead of st_mtim for the nanoseconds - value of followLink was being ignored (it was always being followed).
-
- Apr 06, 2018
- Apr 05, 2018
-
-
sergio authored
-
- Apr 03, 2018
-
-
sergio authored
keeping chocked conditions of Mach number. This BC can work in two modes, chocked or non-chocked. In the chocked mode the Ma is an input. In the non-chocked mode the Ma is calculated from model inputs.
-
Mark OLESEN authored
-
Mark OLESEN authored
STYLE: use 'return nullptr' for empty autoPtr/tmp returns See merge request OpenFOAM-plus!197
-
Mark OLESEN authored
more consistent use of dimensioned Zero See merge request OpenFOAM-plus!196
-
Mark OLESEN authored
Feature catalyst See merge request OpenFOAM-plus!195
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- this can occur when OpenFOAM is run in serial mode, but connects to a program that starts/stops MPI on its own.
-
-
Mark OLESEN authored
- makes the meaning clearer
-
Mark OLESEN authored
-
- Mar 28, 2018
- Mar 27, 2018
-
-
Andrew Heather authored
ENH: reduce profiling overhead (issue #764) See merge request OpenFOAM-plus!194
-
Mark OLESEN authored
-
- Mar 26, 2018
-
-
Mark OLESEN authored
- avoid clockTime in favour of clockValue. - avoid allocations when profiling is not active. - replace hashing with manual pointer lists
-
Mark OLESEN authored
Updated/modified PtrList implementation See merge request OpenFOAM-plus!193
-
Mark OLESEN authored
-
Mark OLESEN authored
- in many cases can just use lookupOrDefault("key", bool) instead of lookupOrDefault<bool> or lookupOrDefault<Switch> since reading a bool from an Istream uses the Switch(Istream&) anyhow STYLE: relocated Switch string names into file-local scope
-
- Mar 22, 2018
-
-
Mark OLESEN authored
- this is a continuation of commit ba92e752 with simpler template logic.
-
Mark OLESEN authored
- improve internal handling to permit deriving resizable containers (eg, PtrDynList). - include '->' iterator dereferencing - Only append/set non-const autoPtr references. This doesn't break existing code, but makes the intention more transparent.
-
- Mar 21, 2018
-
-
- occurred when the initial mesh distribution was missing cells on some processors.
-
Mark OLESEN authored
- specialize transfer and swap to ensure allocated capacity isn't forgotten.
-
Mark OLESEN authored
- both autoPtr and tmp are defined with an implicit construct from nullptr (but with explicit construct from a pointer to null). Thus is it safe to use 'nullptr' when returning an empty autoPtr or tmp.
-
- Mar 20, 2018
-
-
Andrew Heather authored
-
- Mar 19, 2018
-
-
Andrew Heather authored
-
Mark OLESEN authored
- can assist the compiler in producing tighter code.
-
- Mar 22, 2018
-
-
Mark OLESEN authored
-