- 23 Oct, 2017 1 commit
-
-
Mark OLESEN authored
-
- 02 Aug, 2017 1 commit
-
-
Mark OLESEN authored
- consolidate word::validated() into word::validate() and also allow as short form for string::validate<word>(). Also less confusing than having similarly named methods that essentially do the same thing. - more consistent const access when iterating over strings - add valid(char) for keyType and wordRe
-
- 19 Jul, 2017 1 commit
-
-
Mark OLESEN authored
- Resolve ambiguity by using the following rules: 1) starts with '/' => absolute file-system path 2) starts with './' or '../' => file-system path relative to CWD 3) otherwise treat as relative to the case STYLE: allow write access to headerClassName
-
- 13 Jul, 2017 1 commit
-
-
mattijs authored
-
- 06 Jul, 2017 1 commit
-
-
Mark OLESEN authored
- make the purpose of various parts clearer
-
- 03 Jul, 2017 2 commits
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- make some IOobject writing routines non-templated. - relocate more IOobject methods into the IOobjectI.H (generally cleanup the main header).
-
- 07 Jul, 2017 1 commit
-
-
Andrew Heather authored
Original commit message: ------------------------ Parallel IO: New collated file format When an OpenFOAM simulation runs in parallel, the data for decomposed fields and mesh(es) has historically been stored in multiple files within separate directories for each processor. Processor directories are named 'processorN', where N is the processor number. This commit introduces an alternative "collated" file format where the data for each decomposed field (and mesh) is collated into a single file, which is written and read on the master processor. The files are stored in a single directory named 'processors'. The new format produces significantly fewer files - one per field, instead of N per field. For large parallel cases, this avoids the restriction on the number of open files imposed by the operating system limits. The file writing can be threaded allowing the simulation to continue running while the data is being written to file. NFS (Network File System) is not needed when using the the collated format and additionally, there is an option to run without NFS with the original uncollated approach, known as "masterUncollated". The controls for the file handling are in the OptimisationSwitches of etc/controlDict: OptimisationSwitches { ... //- Parallel IO file handler // uncollated (default), collated or masterUncollated fileHandler uncollated; //- collated: thread buffer size for queued file writes. // If set to 0 or not sufficient for the file size threading is not used. // Default: 2e9 maxThreadFileBufferSize 2e9; //- masterUncollated: non-blocking buffer size. // If the file exceeds this buffer size scheduled transfer is used. // Default: 2e9 maxMasterFileBufferSize 2e9; } When using the collated file handling, memory is allocated for the data in the thread. maxThreadFileBufferSize sets the maximum size of memory in bytes that is allocated. If the data exceeds this size, the write does not use threading. When using the masterUncollated file handling, non-blocking MPI communication requires a sufficiently large memory buffer on the master node. maxMasterFileBufferSize sets the maximum size in bytes of the buffer. If the data exceeds this size, the system uses scheduled communication. The installation defaults for the fileHandler choice, maxThreadFileBufferSize and maxMasterFileBufferSize (set in etc/controlDict) can be over-ridden within the case controlDict file, like other parameters. Additionally the fileHandler can be set by: - the "-fileHandler" command line argument; - a FOAM_FILEHANDLER environment variable. A foamFormatConvert utility allows users to convert files between the collated and uncollated formats, e.g. mpirun -np 2 foamFormatConvert -parallel -fileHandler uncollated An example case demonstrating the file handling methods is provided in: $FOAM_TUTORIALS/IO/fileHandling The work was undertaken by Mattijs Janssens, in collaboration with Henry Weller.
-
- 20 Nov, 2016 1 commit
-
-
Mark Olesen authored
- Still needs more attention. -- STYLE: fix minor typos in documentation
-
- 05 Aug, 2016 1 commit
-
-
Henry Weller authored
Requires gcc version 4.7 or higher
-
- 25 Jan, 2016 1 commit
-
-
mattijs authored
Moved file path handling to regIOobject and made it type specific so now every object can have its own rules. Examples: - faceZones are now processor local (and don't search up anymore) - timeStampMaster is now no longer hardcoded inside IOdictionary (e.g. uniformDimensionedFields support it as well) - the distributedTriSurfaceMesh is properly processor-local; no need for fileModificationChecking manipulation.
-
- 19 Jan, 2016 1 commit
-
-
Henry Weller authored
-
- 08 Nov, 2015 1 commit
-
-
Henry Weller authored
Avoids the clutter and maintenance effort associated with providing the function signature string.
-
- 13 Oct, 2015 2 commits
-
-
mattijs authored
-
-
- 04 Jun, 2015 1 commit
-
-
Henry authored
i.e. without the group suffix. Patch provided by William Bainbridge
-
- 15 Oct, 2014 1 commit
-
-
william authored
-
- 18 Sep, 2013 1 commit
-
-
andy authored
-
- 09 Sep, 2013 1 commit
-
-
mattijs authored
-
- 14 Jul, 2013 1 commit
-
-
Henry authored
.group() returns the group name of the object otherwise null groupName(name, group) returns the constructed group name (currently name.group)
-
- 11 Dec, 2012 1 commit
-
-
mattijs authored
-
- 05 Dec, 2012 1 commit
-
-
mattijs authored
-
- 14 Aug, 2011 1 commit
-
-
Henry authored
-
- 19 Jan, 2011 1 commit
-
- 14 Jan, 2011 1 commit
-
-
Andrew Heather authored
-
- 07 Jan, 2011 1 commit
-
-
graham authored
-
- 05 Jan, 2011 2 commits
-
-
Andrew Heather authored
This reverts commit b18f6cc1.
-
graham authored
-
- 03 Nov, 2010 1 commit
-
-
Andrew Heather authored
-
- 02 Nov, 2010 1 commit
-
-
Andrew Heather authored
-
- 28 Jul, 2010 1 commit
-
-
graham authored
-
- 02 Jun, 2010 1 commit
-
-
mattijs authored
-
- 29 Mar, 2010 1 commit
-
-
Mark Olesen authored
-
- 09 Jul, 2009 2 commits
-
-
-
Mark Olesen authored
-
- 05 Mar, 2009 1 commit
-
-
Mark Olesen authored
- regIOobject: don't re-register an unregister object on rename/assignment - Hasher: split-off HasherInt with uint32_t specializations - IOobject: writeBanner/writeDivider return Stream for easier chaining. ... also dropped some namespace bracketing while I was at it.
-
- 06 Feb, 2009 1 commit
-
-
Mark Olesen authored
- removed the previously added fileName type(), isDir(), isFile() methods. - added optional bool parameter to isFile() function to explicitly enable/disable the check for gzip files. - fixed minor bugginess where the default usage of isFile() would result in false positive matches. - be slightly more stringent and use isDir() and isFile() instead of exists() function when we actually know the expected type.
-
- 05 Feb, 2009 1 commit
-
-
Mark Olesen authored
-
- 02 Feb, 2009 1 commit
-
-
Mark Olesen authored
-
- 30 Jan, 2009 1 commit
-
-
Mark Olesen authored
-