- Apr 24, 2019
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- unnecessary. Can deduce labelRange from the pair of labels. These are all the same: list[labelRange(18,3)] = 100; list[labelRange{18,3}] = 100; list[{18,3}] = 100; Removing the run-time handling of std::initializer_list in favour of compile-time deduction allows the future use of sliceRange as well. Eg, list[sliceRange{18,3,2}] = 100; list[{18,3,2}] = 100;
-
- Apr 11, 2019
-
-
Mark OLESEN authored
- use an IndirectListBase class for various indirect list types. - new SortList type In some places the SortList can be used as a lightweight alternative to SortableList to have the convenience of bundling data and sort indices together, but while operating on existing data lists. In other situations, it can be useful as an alternative to sortedOrder. For example, pointField points = ...; labelList order; sortedOrder(points, order); forAll(order, i) { points[order[i]] = ...; } Can be replaced with the following (with the same memory overhead) pointField points = ...; SortList<point> sortedPoints(points); for (point& pt : sortedPoints) { pt = ...; } - new SliceList type (#1220), which can be used for stride-based addressing into existing lists
-
- Apr 24, 2019
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
-
- Apr 18, 2019
-
-
mattijs authored
- Enhancements provided by Y. Inoue at RIST (http://www.hpci-office.jp) - Use allToAll to only swap local data (excludes master processor; saves memory) - Memory saving is noticeable >= 4000 cores
-
- Apr 17, 2019
-
-
mattijs authored
This fixed the MeshObject on Time but produced problems for the non-regIOobject MeshObjects.
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
- Apr 16, 2019
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- convenient when using data structures from other codes
-
Mark OLESEN authored
- fix typo in makefiles/info that affected wmake -show-compile-c - additional safeguard in src/OpenFOAM/Make/options against self-linking. This is not normally required unless PROJECT_LIBS has been added into the link stage.
-
Mark OLESEN authored
- extracts values from the arch "LSB;label=32;scalar=64" header entry to provision for managing dissimilar primitive sizes. Compensate for the additional IOobject members by narrowing the types for the (objectState, readOption, writeOption) enumerations
-
Mark OLESEN authored
-
- Apr 15, 2019
-
-
mattijs authored
-
Mark OLESEN authored
- now suppress any '#line' if the input number number is invalid (ie, an empty set of tokens)
-
Mark OLESEN authored
- can be helpful for handling rotations within global planes
-
mattijs authored
-
mattijs authored
-
- Apr 12, 2019
-
-
Mark OLESEN authored
- replace (darwin) with (__APPLE__) - replace (solarisGcc) with (__sun__ && __GNUC__) - instead of 'darwin' -> '__APPLE' - cease with passing a -D$(WM_ARCH) define since this adds no useful additional information and isn't used anywhere. Reference http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system -- COMP: Extend size disambiguation on long (#1238)
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- allows better separation from compiler settings - use -fPIC instead of legacy -KPIC for intel compiler
-
Mark OLESEN authored
solaris: - rename WM_ARCH from SunOS to solaris64 for consistency with wmake/rules - drop non-64 solaris from wmake/rules - remove automatic selection of FJMPI. This should be done in the bashrc or prefs.sh file instead. - remove old (likely inaccurate) exported flags, rely on wmake -show-xyz or user config instead darwin: - remove '-Ddarwin' from the exported WM_CFLAGS, WM_CXXFLAGS. Not used elsewhere (ThirdParty)
-
- Apr 11, 2019
-
-
Mark OLESEN authored
-
Mark OLESEN authored
STYLE: report MPI flavour (WM_MPLIB) when making mpi-related libraries
-
Mark OLESEN authored
-
Mark OLESEN authored
- the only code location using BiIndirectList are debug sections within polyTopoChange. No need to construct/assign directly from a BiIndirectList since the '()' method provides a simple alternative.
-
mattijs authored
-
mattijs authored
Fix provided by Gavin Ridley.
-
Mark OLESEN authored
-
Mark OLESEN authored
- aids with portability and maintenance (#1238)
-