- Oct 11, 2017
-
-
Mark OLESEN authored
- refactor some common metis-like elements into the metisLikeDecomp abstract class.
-
- Oct 09, 2017
-
-
mattijs authored
-
Mark OLESEN authored
- additional convenience constructors
-
Mark OLESEN authored
- use FixedList first/last in Pair first/second - consistent first/second access for line
-
Mark OLESEN authored
- improve functional compatibility with DynList (remove methods) * eg, remove an element from any position in a DynamicList * reduce the number of template parameters * remove/subset regions of DynamicList - propagate Swap template specializations for lists, hashtables - move construct/assignment to various containers. - add find/found methods for FixedList and UList for a more succinct (and clearer?) usage than the equivalent global findIndex() function. - simplify List_FOR_ALL loops
-
Mark OLESEN authored
-
Mark OLESEN authored
- remove unused static variable, use updated hashtable methods
-
Mark OLESEN authored
- provide shorter versions: pointIndList, pointUIndList, etc. and indirect versions of commonly used types: labelIndList, scalarIndList, vectorIndList
-
Mark OLESEN authored
- consistency with PointHit and PointIndexHit
-
mattijs authored
-
mattijs authored
-
- Oct 05, 2017
-
-
Mark OLESEN authored
- duplicate functionality to the substr() method and more difficult to notice when it is being used.
-
- Oct 04, 2017
-
-
Mark OLESEN authored
-
- Sep 29, 2017
-
-
Mark OLESEN authored
- this compact form shows the subscription per host in the unsorted mpi order nProcs : 18 Hosts : ( (node1 6) (node2 8) (node3 4) ) This provides a succinct overview of which hosts have been subscribed or oversubscribed. - The longer list of "slave.pid" ... remains available on the InfoSwitch 'writeHosts'
-
- Sep 28, 2017
-
-
mattijs authored
-
- Sep 26, 2017
-
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Mark OLESEN authored
-
- Sep 22, 2017
-
-
Mark OLESEN authored
-
Mark OLESEN authored
Previously: - bad command-line input such as -label 1234xyz would parse as a label (with value 1234) and the trailing junk would be silently ignored. This may or may not be appropriate. If the trailing junk looked like this '100E' or '1000E-' (ie, forgot to type the exponent), the incorrectly parsed values can be quite bad: label = 32684 scalar = 6.93556e-310 Now: - use the updated readLabel/readScalar routines that trigger a FatalIOError on bad input: --> FOAM FATAL IO ERROR: Trailing content found parsing '1234xyz' --> FOAM FATAL IO ERROR: Trailing content found parsing '100E' This traps erroneous command-line input immediately.
-
Mark OLESEN authored
-
Mark OLESEN authored
- Any trailing whitespace when parsing from strings or character buffers is ignored rather than being treated as an error. This is consistent with behaviour when reading from an Istream and with leading whitespace being ignored in the underlying atof/atod, strtof/strtod... functions. - Allow parsing directly from a std::string instead of just from a 'char*'. This reflects the C++11 addition of std::stod to complement the C functions strtod. This also makes it easier to parse string directly without using an IStringStream. - Two-parameter parsing methods return success/failure. Eg, if (readInt32(str, &int32Val)) ... - One-parameter parsing methods return the value on success or emit a FatalIOError. Eg, const char* buf; int32Val = readInt32(buf, &); - Improved consistency when parsing unsigned ints. Use strtoimax and strtoumax throughout. - Rename readDoubleScalar -> readDouble, readFloatScalar -> readFloat. Using the primitive name directly instead of the Foam typedef for better consistency with readInt32 etc. - Clean/improve parseNasScalar. Handle normal numbers directly, reduce some operations.
-
Mark OLESEN authored
-
Andrew Heather authored
-
Based on code contributed by SeongMo Yeon Resolves feature request https://bugs.openfoam.org/view.php?id=2656
-
Patch contributed by Mattijs Janssens Resolves bug-report https://bugs.openfoam.org/view.php?id=2614
-
The 4.x tracking enforces reduced dimensionality on the parcels by moving them to the centre of the mesh at the start of each track, without considering the topology. This can leave the parcel outside it's associated tetrahedron. The barycentric algorithm isn't tolerant to incorrect topology, so instead of changing position, it was written to track to the mesh centre. This worked, but effectively doubled the number of tracking calls. This additional cost has now been removed by absorbing the constraint displacement into the existing motion track, so that the same number of tracking steps are performed as before. Partially resolves bug report https://bugs.openfoam.org/view.php?id=2688
-
-
Andrew Heather authored
Note: performs its own tracking and does not rely on the base particle::trackXXX functions, and uses a local particle position. Look to update to barycentric tracking in the future.
-
Andrew Heather authored
old "positions" file form The change to barycentric-based tracking changed the contents of the cloud "positions" file to a new format comprising the barycentric co-ordinates and other cell position-based info. This broke backwards compatibility, providing no option to restart old cases (v1706 and earlier), and caused difficulties for dependent code, e.g. for post-processing utilities that could only infer the contents only after reading. The barycentric position info is now written to a file called "coordinates" with provision to restart old cases for which only the "positions" file is available. Related utilities, e.g. for parallel running and data conversion have been updated to be able to support both file types. To write the "positions" file by default, use set the following option in the InfoSwitches section of the controlDict: writeLagrangianPositions 1;
-
Resolves bug-report https://bugs.openfoam.org/view.php?id=2649
-
Provides support for the limitTemperature fvOption. Resolves bug-report https://bugs.openfoam.org/view.php?id=2675
-
Based on patch contributed by Juho Peltola, VTT Resolves feature request https://bugs.openfoam.org/view.php?id=2572
-
Resolves bug-report https://bugs.openfoam.org/view.php?id=2686
-
Resolves bug-report https://bugs.openfoam.org/view.php?id=2686
-
The splash kinetic energy has been changed to depend upon the velocity of the parcel normal to the wall, rather than the absolute velocity, in accordance with the original reference. This patch was contributed by Stefan Hildenbrand at Pfinder Resolves bug report https://bugs.openfoam.org/view.php?id=2682
-
-