- 28 Jan, 2019 2 commits
-
-
Mark OLESEN authored
- avoids removal of files and the dummy fallback
-
mattijs authored
-
- 16 Dec, 2018 2 commits
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- support .vtp format for geometry, surface, line, cloud. - use native reader for handling vtk, vtp, obj, stl surface files. For other formats, use the MeshedSurface (the surfMesh lib) to handle reading and Foam::vtk::Tools::Patch to handle the conversion to vtkPolyData. This combination is more memory efficient. - update tutorial case to include vtp surface geometry
-
- 15 Dec, 2018 1 commit
-
-
Mark OLESEN authored
- this allows more use of the runTimePostProcessing functionObject that will fail more gracefully if the proper version could not be built. The dummy functionObject simply emits a message that it is not available.
-
- 14 Dec, 2018 1 commit
-
-
Mark OLESEN authored
- partial solution for issue #1091 This generates file properties that are case-relative, Eg, plane0 { p { file "<case>/postProcessing/plane0/1/p_plane0.vtk"; } U { file "<case>/postProcessing/plane0/1/U_plane0.vtk"; } } This allows the case to be moved elsewhere and still find its files. This functionality was previously added for vtkCloud, but now also applies to streamLine, sampledSets and sampledSurfaces
-
- 05 Dec, 2018 1 commit
-
-
Mark OLESEN authored
-
- 04 Dec, 2018 1 commit
-
-
Mark OLESEN authored
- eg for foamVersion.H
-
- 29 Nov, 2018 1 commit
-
-
Mark OLESEN authored
- removed reliance on ParaView_INCLUDE_DIR variable for conveying the major.minor version information when compiling. This can be somewhat fragile and also adds variable that is an unnecessary when running (only used when compiling). Instead use `have_pvplugin_support` function in paraviewFunctions wmake script to determine the maj.min from the PV_PLUGIN_PATH since we have already defined the output path there with paraview maj.min numbering. Can now build with paraview from the operating system, provided that it has develop headers available. ParaView_VERSION=system In the etc/config.sh/paraview setup, the maj.min is taken from the corresponding `paraview --version` output and used when defining the PV_PLUGIN_PATH. During the build, the include path taken from `paraview-config` for a system installation, from the guess installation root of the paraview binary, or ParaView_DIR otherwise. NB: using a system ParaView for building runTimePostProcessing is unsupported. - these types of builds appear to have various library resolution issues (eg, libexpat not being loaded). Additionally, the build logic does not yet cover this type of use case.
-
- 08 Nov, 2018 1 commit
-
-
Mark OLESEN authored
- was deprecated for removal with VTK 8.1.0 definitely removed in VTK 8.2.0
-
- 01 Nov, 2018 1 commit
-
-
mattijs authored
-
- 19 Oct, 2018 1 commit
-
-
Mark OLESEN authored
- as part of the cleanup of dictionary access methods (c6520033) made the dictionary class single inheritance from IDLList<entry>. This eliminates any ambiguities for iterators and allows for simple use of range-for looping. Eg, for (const entry& e : topDict)) { Info<< "entry:" << e.keyword() << " is dict:" << e.isDict() << nl; } vs forAllConstIter(dictionary, topDict, iter)) { Info<< "entry:" << iter().keyword() << " is dict:" << iter().isDict() << nl; }
-
- 18 Oct, 2018 1 commit
-
-
Mark OLESEN authored
- more dictionary-like methods, enforce keyType::LITERAL for all lookups to avoid any spurious keyword matching. - new readEntry, readIfPresent methods - The get() method replaces the now deprecate lookup() method. - Deprecate lookupOrFailsafe() Failsafe behaviour is now an optional parameter for lookupOrDefault, which makes it easier to tailor behaviour at runtime. - output of the names is now always flatted without line-breaks. Thus, os << flatOutput(someEnumNames.names()) << nl; os << someEnumNames << nl; both generate the same output. - Constructor now uses C-string (const char*) directly instead of Foam::word in its initializer_list. - Remove special enum + initializer_list constructor form since it can create unbounded lookup indices. - Removd old hasEnum, hasName forms that were provided during initial transition from NamedEnum. - Added static_assert on Enum contents to restrict to enum or integral values. Should not likely be using this class to enumerate other things since it internally uses an 'int' for its values. Changed volumeType accordingly to enumerate on its type (enum), not the class itself.
-
- 19 Sep, 2018 1 commit
-
-
Mark OLESEN authored
- superseded by the vtkCloud function object, which provides significantly more functionality and more versatile output (using the vtp format).
-
- 03 Aug, 2018 1 commit
-
-
Mark OLESEN authored
Style changes: - use lookupObjectRef instead of using const_cast - use tmp::New factory
-
- 26 Jun, 2018 1 commit
-
-
Mark OLESEN authored
- regularise referencing of OpenFOAM env variables, sources etc.
-
- 23 Jun, 2018 1 commit
-
-
Mark OLESEN authored
- do not need the stringOps version if there is no dictionary context
-
- 30 May, 2018 1 commit
-
-
Mark OLESEN authored
- make the purpose more explicit, and reduces some work for the compiler as well.
-
- 17 May, 2018 1 commit
-
-
Mark OLESEN authored
- disallow insert() of raw pointers, since a failed insertion (ie, entry already existed) results in an unmanaged pointer. Either insert using an autoPtr, or set() with raw pointers or autoPtr. - IOobjectList::add() now takes an autoPtr instead of an object reference - IOobjectList::remove() now returns an autoPtr instead of a raw pointer
-
- 24 Apr, 2018 1 commit
-
-
Mark OLESEN authored
- generalize some of the library extensions (.so vs .dylib). Provide as wmake 'sysFunctions' - added note about unsupported/incomplete system support - centralize detection of ThirdParty packages into wmake/ subdirectory by providing a series of scripts in the spirit of GNU autoconfig. For example, have_boost, have_readline, have_scotch, ... Each of the `have_<package>` scripts will generally provide the following type of functions: have_<package> # detection no_<package> # reset echo_<package> # echoing and the following type of variables: HAVE_<package> # unset or 'true' <package>_ARCH_PATH # root for <package> <package>_INC_DIR # include directory for <package> <package>_LIB_DIR # library directory for <package> This simplifies the calling scripts: if have_metis then wmake metisDecomp fi As well as reducing clutter in the corresponding Make/options: EXE_INC = \ -I$(METIS_INC_DIR) \ -I../decompositionMethods/lnInclude LIB_LIBS = \ -L$(METIS_LIB_DIR) -lmetis Any additional modifications (platform-specific or for an external build system) can now be made centrally.
-
- 18 Apr, 2018 1 commit
-
-
Mark OLESEN authored
-
- 28 Mar, 2018 1 commit
-
-
Andrew Heather authored
-
- 11 Apr, 2018 1 commit
-
-
Mark OLESEN authored
-
- 26 Mar, 2018 1 commit
-
-
Mark OLESEN authored
- in many cases can just use lookupOrDefault("key", bool) instead of lookupOrDefault<bool> or lookupOrDefault<Switch> since reading a bool from an Istream uses the Switch(Istream&) anyhow STYLE: relocated Switch string names into file-local scope
-
- 31 Jan, 2018 1 commit
-
-
Mark OLESEN authored
- sentinel was not working properly when building user-space routines
-
- 20 Jul, 2018 2 commits
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- unify CMakeLists naming and align content
-
- 15 Jun, 2018 1 commit
-
-
Mark OLESEN authored
- support VTP input in functionObjectCloud scene element - additional fallback lookup of cloud information from state properties instead of cloud OutputProperties
-
- 27 Feb, 2018 1 commit
-
-
Andrew Heather authored
-
- 20 Jul, 2017 1 commit
-
-
Mark OLESEN authored
-
- 17 Jul, 2017 1 commit
-
-
Mark OLESEN authored
-
- 03 Jul, 2017 3 commits
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
-
- 19 May, 2017 1 commit
-
-
Andrew Heather authored
-
- 18 May, 2017 2 commits
-
-
Mark OLESEN authored
COMP: avoid undefined-var-template warning in runTimePostProcessing
-
- simplifies organization, includes, linkage etc.
-
- 24 Apr, 2017 1 commit
-
-
Andrew Heather authored
-
- 04 Apr, 2017 1 commit
-
-
Mark Olesen authored
- they don't use scotch/metis anyhow, which are the only things placed in FOAM_EXT_LIBBIN
-
- 10 Feb, 2017 1 commit
-
-
Mark Olesen authored
- reduces unexpected interactions between various make elements
-