- Apr 13, 2017
- Apr 11, 2017
-
-
mark 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 authored
- reduce the amount of checking. Equivalent logic to what HashTable has.
-
mark authored
- remove stray canonicalSize declaration
-
mark authored
-
mark 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).
-
- Apr 10, 2017
-
-
mark authored
-
- Apr 07, 2017
-
-
mark authored
-
mark 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 authored
-
mark authored
-
mark authored
- consistent with use of FOAM_SOLVERS, and reduces reliance on the FOAM_APP env variable
-
mark authored
- had occasional remnant use of FOAM_SRC
-
mark authored
-
- Apr 05, 2017
-
-
sergio authored
-
- Apr 04, 2017
-
-
mark authored
- useful for builds that don't use the ThirdParty directory at all
-
mark authored
- they don't use scotch/metis anyhow, which are the only things placed in FOAM_EXT_LIBBIN
-
mark 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 authored
-
mark authored
-
- Apr 03, 2017
-
-
mark authored
-
mark authored
- has different locations on different systems (eg, /usr/bin/lsof or /sbin/lsof)
-
mark 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 authored
- previously used the value of $WM_PROJECT, but this is potentially inconsistent with what Foam::etcFiles uses.
-
mark 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 30, 2017
-
-
mark authored
- minor bug: 'wclean empty' may have had issues with logical vs physical path
-
mark 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.
-
mark authored
-
Andrew Heather authored
-
Andrew Heather authored
-
- Mar 27, 2017
-
-
Andrew Heather authored
-
- Mar 24, 2017
-
-
Andrew Heather authored
-
- Mar 23, 2017
-
-
mark 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 authored
- cleanup variables last in etc/bashrc for a clean exit code
-
- Mar 22, 2017
-
-
mark authored
- this allows the sys-admin to provide base values independent of any WM_PROJECT_SITE value.
-
mark authored
- support names like openfoam-<VERSION> (eg, what spack uses). - robustness improvements
-
mark authored
- this corresponds to what various module or build systems provide. ThirdParty builds are unaffected since they install into FOAM_EXT_LIBBIN
-
mark authored
- this makes it possible to perform additional operations on surface values that have been previously sampled. - support vectorField for weighting operations. - reduce overhead by avoiding creation of weight fields, Sf fields and combined surface geometries unless they are actually required. - extend some similar concepts and operations to volFieldValue
-
mark authored
-