- Apr 29, 2017
-
-
Mark OLESEN authored
- explicitly mention the value-initialized status for the operator(). This means that the following code will properly use an initialized zero. HashTable<label> regionCount; if (...) regionCount("region1")++; ... and also this; if (regionCount("something") > 0) { ... } Note that the OpenFOAM HashTable uses operator[] to provide read and write access to *existing* entries and will provoke a FatalError if the entry does not exist. The operator() provides write access to *existing* entries or will create the new entry as required. The STL hashes use operator[] for this purpose.
-
Mark OLESEN authored
- more hash-like methods. Eg, insert/erase via lists, clear(), empty(),... - minVertex(), maxVertex() to return the smallest/largest label used - improved documentation, more clarification about where/how negative point labels are treated.
-
- May 04, 2017
-
-
Andrew Heather authored
BUG: wall/patch distance and inverseDistanceDiffusivity - updated dimensions and use meshWave as a default method for backwards compatibility. Fixes #462
-
- May 02, 2017
-
-
Andrew Heather authored
Dict lookup See merge request !105
-
Andrew Heather authored
Use updated edge and labelPair containers See merge request !106
-
- Apr 28, 2017
-
-
Andrew Heather authored
Updated random numbers See merge request !107
-
Andrew Heather authored
ENH: turbulentDFSEMInlet - ensure different procs initialise the random number generator with a different seed
-
Andrew Heather authored
-
Andrew Heather authored
- old Random class deprecated - cachedRandom renamed Random
-
- Apr 27, 2017
-
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- simplifies organization, allows reuse. provide some other useful hash types.
-
Mark OLESEN authored
- for loading single or multiple surface files from constant/triSurface (or other) directory. - select based on word, wordRe, wordReList.
-
Mark OLESEN authored
-
Mark OLESEN authored
- performance improvement. Noticed while examining issue #458
-
Mark OLESEN authored
- avoids some duplicate code.
-
- Apr 26, 2017
-
-
Mark OLESEN authored
- cannot use comparison of list sizes. Okay for UList, but not here. STYLE: - don't need two iterators for the '<' comparison, can just access internal storage directly
-
- Apr 25, 2017
-
-
Andrew Heather authored
-
Andrew Heather authored
-
Mark OLESEN authored
- The existing ':' anchor works for rvalue substitutions (Eg, ${:subdict.name}), but fails for lvalues, since it is a punctuation token and parse stops there.
-
Mark OLESEN authored
- can be used to reduce copying
-
- Apr 24, 2017
-
-
Mark OLESEN authored
- makes more sense to bundle it with plane.
-
Mark OLESEN authored
ENH: OBJstream output for treeBoundBox
-
Andrew Heather authored
-
- Apr 23, 2017
-
-
Mark OLESEN authored
- improves flexibility. STYLE: make longestEdge a face method and deprecate the global function
-
Mark OLESEN authored
- support edge-ordering on construction, and additional methods: - sort(), sorted(), unitVec(), collapse() - null constructor initializes with -1, for consistency with face, triFace and since it is generally much more useful that way. - add some methods that allow edges to used somewhat more like hashes. - count(), found(), insert(), erase() Here is possible way to use that: edge someEdge; // initializes with '-1' for both entries if (someEdge.insert(pt1)) { // added a new point label } ... later // unmark point on edge someEdge.erase(pt2); -- STYLE: - use UList<point> instead of pointField for edge methods for flexibility. The pointField include is retained, however, since many other routines may be relying on it being included via edge.H
-
- Apr 21, 2017
-
-
Mark OLESEN authored
- filter out degenerate edges - remove unused points STYLE: remove unused mergePoints() parameter STYLE: doxygen for edgeMesh
-
- Apr 20, 2017
-
-
Mark OLESEN authored
-
Mark Olesen authored
-
Mark Olesen authored
- suppress error messages that appear with zsh. According to unset(1p), 'unset -f' unsets a function. If the function was not previously defined, this is a no-op. This is similar for zsh, but there it emits a warning if the function was not previously defined. - avoid 'local' in functions sources from etc/bashrc. ksh does not support this. - use 'command' shell builtin instead of 'type'. Seems to be more consistent between shell flavours.
-
- Apr 19, 2017
-
-
Mark Olesen authored
- POSIX specifies '-c' for counting the number of matching lines, so we can just use that instead of 'wc' in wmake
-
Mark Olesen authored
- if called from the top-level project directory ($WM_PROJECT_DIR) default to using {applications,src} directories. This avoids erroneous linking of etc/codeTemplates and avoids the lengthy scanning of the tutorials directory
-
Mark Olesen authored
- use InfoSwitch to disable, or via static method. - respect the state of the argList banner when deciding to emit initialization information. Can otherwise end up with unwanted output rubbish on things like foamDictionary and foamListTimes.
-
Andrew Heather authored
-
Mark OLESEN authored
-
Mark Olesen authored
-
Mark Olesen authored
- patch from Bernhard Gschaider
-
Andrew Heather authored
BUG: adding case path to support parallel execution (Fixes #449) Closes #449 See merge request !101
-