- Apr 13, 2017
- Apr 11, 2017
-
-
Mark Olesen authored
- This can be used as a convenient alternative to comparing against end(). Eg, dictionaryConstructorTable::iterator cstrIter = dictionaryConstructorTablePtr_->find(methodType); if (cstrIter.found()) { ... } vs. if (cstrIter != dictionaryConstructorTablePtr_->end()) { ... }
-
Mark Olesen authored
- reduce the amount of checking. Equivalent logic to what HashTable has.
-
Mark Olesen authored
- remove stray canonicalSize declaration
-
Mark Olesen authored
-
- Apr 10, 2017
-
-
Mark Olesen authored
- 1st problem arises when there are edges, but edgeNormals is empty. The UIndirectList fails (zero elements, non-zero addressing) - further problem occurs if there is a mismatch in the number of edges and edges normals (incorrect indexing on loop).
-
Mark Olesen authored
-
- Apr 07, 2017
-
-
Mark Olesen authored
-
Mark Olesen authored
- can be useful with compiling additional OpenFOAM programs that use FOAM_USER_APPBIN, FOAM_USER_LIBBIN for their build, to avoid conflicts with the normal user bin/lib files. - or to force relocation of FOAM_SITE_APPBIN, FOAM_SITE_LIBBIN during packaging of OpenFOAM
-
Mark Olesen authored
-
Mark Olesen authored
-
Mark Olesen authored
- consistent with use of FOAM_SOLVERS, and reduces reliance on the FOAM_APP env variable
-
Mark Olesen authored
-
- Apr 06, 2017
-
-
Mark Olesen authored
- had occasional remnant use of FOAM_SRC
-
- Apr 05, 2017
-
-
sergio authored
-
- Apr 04, 2017
-
-
Mark Olesen authored
- useful for builds that don't use the ThirdParty directory at all
-
Mark Olesen authored
- they don't use scotch/metis anyhow, which are the only things placed in FOAM_EXT_LIBBIN
-
Mark Olesen authored
- just check WM_PROJECT_DIR instead. - provide a fallback value when FOAM_EXT_LIBBIN might actually be needed. Only strictly need FOAM_EXT_LIBBIN for scotch/metis decomposition, and when these are actually supplied by ThirdParty. All other ThirdParty dependencies are referenced by BOOST_ARCH_PATH etc. Can therefore drop the FOAM_EXT_LIBBIN dependency for VTK-related things, which do not use scotch/metis anyhow.
-
Mark Olesen authored
-
Mark Olesen authored
-
- Apr 03, 2017
-
-
Mark Olesen authored
-
Mark Olesen authored
- has different locations on different systems (eg, /usr/bin/lsof or /sbin/lsof)
-
Mark Olesen authored
- this implies that jobControl is a user-resource for OpenFOAM. It was previously located under $WM_PROJECT_INST_DIR/jobControl, but few users will have write access there. - an unset FOAM_JOB_DIR variable is treated as "~/.OpenFOAM/jobControl", which can partially reduce environment clutter. - provide argList::noJobInfo() to conveniently suppress job-info on an individual basis for short-running utilities (eg, foamListTimes) to avoid unneeded clutter.
-
- Mar 31, 2017
-
-
Mark Olesen authored
- previously used the value of $WM_PROJECT, but this is potentially inconsistent with what Foam::etcFiles uses.
-
- Mar 30, 2017
-
-
Andrew Heather authored
-
Mark Olesen authored
- ensure proper and sensible handling of empty names. Eg, isDir(""), isFile("") are no-ops, and avoid file-stat - rmDir: * optional 'silent' option to suppress messages. * removes all possible sub-entries, instead of just giving up on the first problem encountered. - reduced code duplication in etcFiles ENH: provide WM_USER_RESOURCE_DIRNAME define (in foamVersion.H) - this is still a hard-coded value, but at least centrally available
-
- Mar 29, 2017
-
-
Mark Olesen authored
- minor bug: 'wclean empty' may have had issues with logical vs physical path
-
Mark Olesen authored
- permit SYSTEMMPI user adjustments via etc/config.{csh,sh}/mpi-system This can be a convenient place for setting up SYSTEMMPI for OpenFOAM without adjusting bashrc, prefs.sh ... - add a USERMPI type. This represents any generic mpi implementation. The user is responsible for supplying an appropriate wmake/rules/General/mplibUSERMPI file and managing all settings. This type of setup can be useful in combination with specific build systems (SPACK, EASYBUILD, etc) or module systems for which the MPI variant is part of the installed configuration.
-
- Mar 28, 2017
-
-
Mark Olesen authored
-
- Mar 30, 2017
-
-
Andrew Heather authored
-
- Mar 27, 2017
-
-
Andrew Heather authored
-
- Mar 24, 2017
-
-
Andrew Heather authored
-
- Mar 23, 2017
-
-
Mark Olesen authored
- lazier evaluation of project name and version based on the directory name. Avoids heuristics based on directory names unless really needed. - cope with alternative directory locations. For example, OpenFOAM+VERSION etc. The combination of the two above appears to be sufficient to open up the directory naming possibilities. - additional -list-test option (tests for existence of directory).
-
Mark Olesen authored
- cleanup variables last in etc/bashrc for a clean exit code
-
- Mar 22, 2017
-
-
Mark Olesen authored
- this allows the sys-admin to provide base values independent of any WM_PROJECT_SITE value.
-
Andrew Heather authored
-
Mark Olesen authored
- support names like openfoam-<VERSION> (eg, what spack uses). - robustness improvements
-
- Mar 21, 2017
-
-
Mark Olesen authored
- this corresponds to what various module or build systems provide. ThirdParty builds are unaffected since they install into FOAM_EXT_LIBBIN
-
Andrew Heather authored
-