- 31 Oct, 2019 1 commit
-
-
OpenFOAM bot authored
-
- 24 Jun, 2019 1 commit
-
-
Mark Olesen authored
-
- 14 Jun, 2019 2 commits
-
-
Andrew Heather authored
-
Andrew Heather authored
-
- 07 Jun, 2019 1 commit
-
-
Sergio Ferraris authored
Integration of VOF MULES new interfaces. Update of VOF solvers and all instances of MULES in the code. Integration of reactingTwoPhaseEuler and reactingMultiphaseEuler solvers and sub-models Updating reactingEuler tutorials accordingly (most of them tested) New eRefConst thermo used in tutorials. Some modifications at thermo specie level affecting mostly eThermo. hThermo mostly unaffected New chtMultiRegionTwoPhaseEulerFoam solver for quenching and tutorial. Phases sub-models for reactingTwoPhaseEuler and reactingMultiphaseEuler were moved to src/phaseSystemModels/reactingEulerFoam in order to be used by BC for chtMultiRegionTwoPhaseEulerFoam. Update of interCondensatingEvaporatingFoam solver.
-
- 04 Jun, 2019 1 commit
-
-
Mark Olesen authored
- remove registration and ownership before deleting a regIOobject from within objectRegistry to avoid possible recursion. - regIOobject destructor now removes any registered object from registry regardless if ownedByRegistry or not. It also removes always removes the ownership flag to avoid possible recursion. - the regIOobject::checkOut() now unconditionally clears file watches. These will only be there if the object is registered (a no-op for an unregistered object), but this additional safety is needed to manage case where the registration has been modified elsewhere (eg, by the objectRegistry).
-
- 03 Jun, 2019 2 commits
-
-
Mark Olesen authored
- can additionally relinquish the registered state as well as ownedByRegistry state
-
mattijs authored
-
- 31 May, 2019 1 commit
-
-
Mark Olesen authored
-
- 01 May, 2019 2 commits
-
-
Mark Olesen authored
-
Mark Olesen authored
- for codedFunctionObject and CodedSource the main code snippets were not included in the SHA1 calculation, which meant that many changes would not be noticed and no new library would be compiled. As a workaround, a dummy 'code' entry could be used solely for the purposes of generating a SHA1, but this is easily forgotten. We now allow tracking of the dynamicCodeContext for the coded objects and append to the SHA1 hasher with specific entries. This should solve the previous misbehaviour. We additionally add information about the ordering of the code sections. Suppose we have a coded function object (all code segments are optional) with the following: codeExecute ""; codeWrite #{ Info<< "Called\n"; #}; which we subsequently change to this: codeExecute #{ Info<< "Called\n"; #}; codeWrite ""; If the code strings are simply concatenated together, the SHA1 hashes will be identical. We thus 'salt' with their semantic locations, choosing tags that are unlikely to occur within the code strings themselves. - simplify the coded templates with constexpr for the SHA1sum information. - Correct the CodedSource to use 'codeConstrain' instead of 'codeSetValue' for consistency with the underlying functions.
-
- 30 Apr, 2019 1 commit
-
-
Mark Olesen authored
- previously would have different SHA1 depending on whether the string was a C-string, a C++-string or if the SHA1 was calculated directly or via the OSHA1stream. - SHA1("string") - OSHA1stream << "string"; - OSHA1stream << string("string"); By avoiding string quoting on output, they now all deliver the same result. This also means that the following will no longer change the SHA1 content, since it does not add anything: osha<< string() << string() << string() << string(); This would have previously add a pair of double quotes each time!
-
- 26 Apr, 2019 1 commit
-
-
Mark Olesen authored
- continuation of commit 0e7954c2 ENH: downgrade abort() to exit() in some places (#1238)
-
- 24 Apr, 2019 3 commits
-
-
Mark Olesen authored
-
Mark Olesen authored
-
Mark Olesen authored
-
- 17 Apr, 2019 2 commits
-
-
Andrew Heather authored
-
Andrew Heather authored
-
- 16 Apr, 2019 2 commits
-
-
Mark Olesen authored
- extracts values from the arch "LSB;label=32;scalar=64" header entry to provision for managing dissimilar primitive sizes. Compensate for the additional IOobject members by narrowing the types for the (objectState, readOption, writeOption) enumerations
-
Mark Olesen authored
-
- 15 Apr, 2019 1 commit
-
-
Mark Olesen authored
- now suppress any '#line' if the input number number is invalid (ie, an empty set of tokens)
-
- 12 Apr, 2019 1 commit
-
-
Mark Olesen authored
- replace (darwin) with (__APPLE__) - replace (solarisGcc) with (__sun__ && __GNUC__) - instead of 'darwin' -> '__APPLE' - cease with passing a -D$(WM_ARCH) define since this adds no useful additional information and isn't used anywhere. Reference http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system -- COMP: Extend size disambiguation on long (#1238)
-
- 10 Apr, 2019 1 commit
-
-
Mark Olesen authored
- the objectRegistry destructor seems to be called too late. Explicitly clear the objectRegistry within the Time destructor to ensure that it always happens.
-
- 06 Apr, 2019 1 commit
-
-
Mark Olesen authored
-
- 02 Apr, 2019 1 commit
-
-
Mark Olesen authored
- this improves overall consistency and is independent of higher level tagging as ASCII or BINARY for IFstream, OFstream etc.
-
- 03 Apr, 2019 1 commit
-
-
Mark Olesen authored
- consistent with use of <cstdlib> and makes for a stronger distinct from Foam::abort etc.
-
- 14 Mar, 2019 1 commit
-
-
Mark Olesen authored
- new regExpCxx wrapper for C++11 regex support with drop-in compatibility with existing code. - regExpPosix (was regExp), for future phase out in favour of regExpCxx. - The regExp header will continue to be used for defining an appropriate typedef corresponding to the preferred implementation.
-
- 22 Feb, 2019 1 commit
-
-
Mark Olesen authored
- PtrList::release() method. Similar to autoPtr and unique_ptr and clearer in purpose than using set(i,nullptr) - Construct from List of pointers, taking ownership. Useful when upgrading code. Eg, List<polyPatch*> oldList = ...; PtrList<polyPatch> newList(oldList); ... BUG: incorrect resizing method names (PtrDynList) in previously unused code
-
- 14 Jun, 2019 1 commit
-
-
Kutalmis Bercin authored
-
- 23 May, 2019 2 commits
-
-
Mark Olesen authored
- reduces some dictionary clutter and probably looks less confusing than having an ending that may not correspond to the current OS. Eg, "fvOptions" instead of "libfvOptions.so", "libfvOptions.dylib" ... - convenience dlOpen method for multiple files
-
Mark Olesen authored
STYLE: remove unused local variables in edgeMeshFormat
-
- 21 May, 2019 1 commit
-
-
Mark Olesen authored
- can be used to check the validity of input values. Example: dict.getCheck<label>("nIters", greaterOp1<label>(0)); dict.getCheck<scalar>("relax", scalarMinMax::zero_one()); - use 'get' prefix for more regular dictionary methods. Eg, getOrDefault() as alternative to lookupOrDefault() - additional ops for convenient construction of predicates ENH: make dictionary writeOptionalEntries integer - allow triggering of Fatal if default values are used ENH: additional scalarRange static methods: ge0, gt0, zero_one - use GREAT instead of VGREAT for internal placeholders - additional MinMax static methods: gt, le
-
- 17 May, 2019 1 commit
-
-
Mark Olesen authored
-
- 23 Jan, 2019 1 commit
-
-
Mark Olesen authored
- checkIn() was incorrectly conditional on the register state of the source object. Partial patch from .org commit 6dc48b62d948
-
- 07 Jan, 2019 1 commit
-
-
Mark Olesen authored
- reduced clutter when iterating over containers
-
- 14 Feb, 2019 1 commit
-
-
Mark Olesen authored
- simplifies their use when reordering lists etc. (word, fileName, keyType, wordRe) - "unfriend" IO operators for string types. They require no internal access - add compile/uncompile methods to keyType for symmetry with wordRe - when outputting keyType/wordRe, be more explicit about them using writeQuoted()
-
- 13 Feb, 2019 1 commit
-
-
Mark Olesen authored
-
- 12 Feb, 2019 1 commit
-
-
Mark Olesen authored
- delay dereferencing of optional subRegion entries until an objectRegistry is required. This improves usabilty when reference objects do not yet exist at the time of construction.
-
- 08 Feb, 2019 1 commit
-
-
Mark Olesen authored
- makes it easier to implement functionObject or field object removal
-
- 11 Feb, 2019 1 commit
-
-
Mark Olesen authored
-