- Sep 15, 2017
-
-
Andrew Heather authored
-
Andrew Heather authored
-
- Sep 26, 2017
-
-
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
-
Andrew Heather authored
Integration openfoam.org See merge request !144
-
- Sep 21, 2017
-
-
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
-
mattijs authored
-
mattijs authored
-
- Sep 18, 2017
-
-
Andrew Heather 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.
-
mattijs authored
-
mattijs authored
Note that now mirrorMesh does not delete empty patches anymore.
-
- Sep 15, 2017
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
-
- Sep 12, 2017
-
-
Mark OLESEN authored
Feature paraview clouds See merge request !145
-
Mark OLESEN authored
- Can occur if the selected geometry does not actually exist. A non-critical bug since paraview catches this anyhow and just emits a warning message.
-
Mark OLESEN authored
- previous only checked for clouds at the last instance and only detected lagrangian fields from the first cloud. Now check for clouds at all instances and detect all of their fields as well.
-
Mark OLESEN authored
Feature surface field value operations See merge request !141
-
Mark OLESEN authored
Feature surface scaling See merge request !139
-
- Sep 11, 2017
-
-
Mark OLESEN authored
- affects surfaceFieldValue, volFieldValue. Use 'none' (if desired) to explicitly suppress the weightField, but generally better to use a different operation.
-
Mark OLESEN authored
- relocate as Test-surfaceMeshConvert.
-
- Sep 09, 2017
-
-
Based on code contributed by SeongMo Yeon Resolves feature request https://bugs.openfoam.org/view.php?id=2656
-
- Sep 08, 2017
-
-
sergio authored
ENH: Adding required interpolation for alpha.water in fvSchemes for overInterDyMFoam floatingBody tutorial
-
sergio authored
-
Andrew Heather authored
-
- Sep 07, 2017
- Sep 06, 2017
- Aug 31, 2017
-
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Mattijs Janssens authored
ENH: Adds basic information for faceZone and cellZones during checkMesh (fixes #560) See merge request !142
-
Prashant Sonakar authored
-