- Oct 11, 2017
-
-
Mark OLESEN authored
- refactor some common metis-like elements into the metisLikeDecomp abstract class.
-
mattijs authored
-
- Oct 09, 2017
-
-
mattijs authored
-
mattijs authored
-
mattijs 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
-
mattijs authored
-
- Oct 05, 2017
-
-
Mark OLESEN authored
- consistent versions in headers
-
Mark OLESEN authored
- duplicate functionality to the substr() method and more difficult to notice when it is being used.
-
mattijs authored
-
- Oct 04, 2017
-
-
Mark OLESEN authored
ENH: adjust infoSwitch to report host subscription (related to #531) See merge request !150
-
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'
-
Mark OLESEN authored
- the -dir option was added in commit 9fda726a to allow quick testing of documentation for a set of classes. This was largely replicated in commit 843d83117, but accepting multiple directories. Apply some of the same ideas here and avoid creation of a tmp file.
-
Mark OLESEN authored
-
- Sep 28, 2017
-
-
mattijs authored
-
- Sep 27, 2017
-
-
mattijs authored
-
- Sep 26, 2017
-
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
-
- Sep 25, 2017
-
-
Sergio Ferraris authored
improve consistency in parsing primitives from strings See merge request !146
-
- 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
Integration openfoam.org See merge request !144
-
Andrew Heather authored
-