- 12 Jun, 2019 1 commit
-
-
mattijs authored
See #1328.
-
- 24 Apr, 2019 1 commit
-
-
Mark Olesen authored
-
- 02 Apr, 2019 1 commit
-
-
Mark Olesen authored
- file-local static for saving the old action, which moves system dependencies out of the header files. - set/reset of signals as file-local functions STYLE: use csignal header instead of signal.h
-
- 06 Feb, 2019 1 commit
-
-
OpenFOAM bot authored
-
- 18 Oct, 2018 1 commit
-
-
Mark Olesen authored
- more dictionary-like methods, enforce keyType::LITERAL for all lookups to avoid any spurious keyword matching. - new readEntry, readIfPresent methods - The get() method replaces the now deprecate lookup() method. - Deprecate lookupOrFailsafe() Failsafe behaviour is now an optional parameter for lookupOrDefault, which makes it easier to tailor behaviour at runtime. - output of the names is now always flatted without line-breaks. Thus, os << flatOutput(someEnumNames.names()) << nl; os << someEnumNames << nl; both generate the same output. - Constructor now uses C-string (const char*) directly instead of Foam::word in its initializer_list. - Remove special enum + initializer_list constructor form since it can create unbounded lookup indices. - Removd old hasEnum, hasName forms that were provided during initial transition from NamedEnum. - Added static_assert on Enum contents to restrict to enum or integral values. Should not likely be using this class to enumerate other things since it internally uses an 'int' for its values. Changed volumeType accordingly to enumerate on its type (enum), not the class itself.
-
- 13 Mar, 2018 1 commit
-
-
Mark Olesen authored
- eliminate iterators from PackedList since they were unused, had lower performance than direct access and added unneeded complexity. - eliminate auto-vivify for the PackedList '[] operator. The set() method provides any required auto-vivification and removing this ability from the '[]' operator allows for a lower when accessing the values. Replaced the previous cascade of iterators with simpler reference class. PackedBoolList: - (temporarily) eliminate logic and addition operators since these contained partially unclear semantics. - the new test() method tests the value of a single bit position and returns a bool without any ambiguity caused by the return type (like the get() method), nor the const/non-const access (like operator[] has). The name corresponds to what std::bitset uses. - more consistent use of PackedBoolList test(), set(), unset() methods for fewer operation and clearer code. Eg, if (list.test(index)) ... | if (list[index]) ... if (!list.test(index)) ... | if (list[index] == 0u) ... list.set(index); | list[index] = 1u; list.unset(index); | list[index] = 0u; - deleted the operator=(const labelUList&) and replaced with a setMany() method for more clarity about the intended operation and to avoid any potential inadvertent behaviour.
-
- 17 Jul, 2017 1 commit
-
-
Mark Olesen authored
-
- 03 Jul, 2017 1 commit
-
-
Mark Olesen authored
-
- 25 Nov, 2016 1 commit
-
-
Henry Weller authored
fileModificationSkew: now a floating-point number to support sub-second specification. Patch contributed by Mattijs Janssens
-
- 05 Aug, 2016 1 commit
-
-
Henry Weller authored
Requires gcc version 4.7 or higher
-
- 29 Feb, 2016 1 commit
-
-
Henry Weller authored
-
- 11 Nov, 2015 1 commit
-
-
Henry Weller authored
Avoids the clutter and maintenance effort associated with providing the function signature string.
-
- 14 Feb, 2015 1 commit
-
-
Henry authored
-
- 31 Dec, 2014 2 commits
-
-
Henry authored
-
Henry authored
To compile with 64bit labels set WM_LABEL_SIZE=64 in ~/OpenFOAM/dev/prefs.sh source ~/.bashrc then Allwmake in OpenFOAM-dev. This will build into for example OpenFOAM-dev/platforms/linux64ClangDPInt64Opt If WM_LABEL_SIZE is unset or set to 32: WM_LABEL_SIZE=32 the build would be placed into OpenFOAM-dev/platforms/linux64ClangDPInt32Opt Thus both 32bit and 64bit label builds can coexist without problem.
-
- 14 Oct, 2013 1 commit
-
-
mattijs authored
-
- 12 Mar, 2013 1 commit
-
-
andy authored
-
- 17 Dec, 2012 1 commit
-
-
mattijs authored
-
- 24 Sep, 2012 1 commit
-
-
mattijs authored
-
- 29 Apr, 2012 1 commit
-
-
Henry authored
-
- 14 Aug, 2011 1 commit
-
-
Henry authored
-
- 19 Jul, 2011 1 commit
-
-
Henry authored
-
- 07 Feb, 2011 1 commit
-
-
Henry authored
Also corrected many formatting errors in the comments in C and H files
-
- 19 Jan, 2011 1 commit
-
- 07 Jan, 2011 1 commit
-
-
graham authored
-
- 05 Jan, 2011 2 commits
-
-
Andrew Heather authored
This reverts commit b18f6cc1.
-
graham authored
-
- 17 Dec, 2010 1 commit
-
-
Mark Olesen authored
-
- 02 Dec, 2010 1 commit
-
-
mattijs authored
-
- 29 Nov, 2010 1 commit
-
-
mattijs authored
-
- 16 Nov, 2010 1 commit
-
-
mattijs authored
-
- 26 Oct, 2010 1 commit
-
-
mattijs authored
-
- 21 Oct, 2010 1 commit
-
-
mattijs authored
-
- 19 Oct, 2010 1 commit
-
-
mattijs authored
-
- 12 Oct, 2010 1 commit
-
-
Mark Olesen authored
- otherwise gets flagged as an error by clang
-
- 29 Aug, 2010 1 commit
-
-
mattijs authored
Some editors (emacs) rename file at startup to the backup version. Hence watching the original file tells one nothing.
-
- 26 Aug, 2010 1 commit
-
-
mattijs authored
-
- 15 Jul, 2010 1 commit
-
-
mattijs authored
-
- 07 Jun, 2010 1 commit
-
-
Mark Olesen authored
- avoids potential mismatches between header and courtesy binaries
-
- 02 Jun, 2010 1 commit
-
-
mattijs authored
-