- Nov 13, 2016
-
-
Mark Olesen authored
- increases coverage. STYLE: relocate some core pieces into fileFormats
-
- Nov 12, 2016
-
-
Mark Olesen authored
- ensure that MeshedSurface and UnsortedMeshedSurface can also work with labelledTri faces. - nTriangles() convenience method for meshed surfaces - MeshedSurface::addZonesToFaces() method to copy zone information into the labelledTri per-face region storage. The goal is to replace the triSurface reading routines with run-time selectable ones from surfMesh.
-
Mark Olesen authored
- triFace() now initialized with '-1', which makes it behave equivalently to face(label). - supply default region=0 for some labelledTri constructors. This allows labelledTri to work more like a triFace and makes it easier to use in templated methods and eases conversion from triFace to a labelledTri. - labelledTri(const labelUList&) can now be used when converting from a face. It can have 3 values (use default region) or 4 values (with region). - face, triFace, labelledTri now all support construction with initializer lists. This can be useful for certain types of code. Eg, triFace f1{a, b, c}; face f2{a, b, c}; labelledTri f3{a, b, c}; Work without ambiguity. Also useful for templated methods: FaceType f{remap[a], remap[b], remap[c]};
-
Mark Olesen authored
- it doesn't actually contain 'core' code, but rather various instances of MeshedSurfaceProxy.
-
- Aug 11, 2016
-
-
Mark Olesen authored
Note that since these actually act more like 'patches' (ie, contiguous addressing) it might be reasonable to rename as surfPatchIdentifier / surfacePatchIdentifier
-
Mark Olesen authored
- was originally in triSurface, but is used in multiple other places
-
Mark Olesen authored
- were in triSurface, but only actually used within meshTools
-
Mark Olesen authored
-
Mark Olesen authored
-
Mark Olesen authored
-
- Nov 13, 2016
-
-
Mark Olesen authored
- Now that the metisDecomp uses the metis definition for float/double, do not need to verify the scalar sizes. Note: - could drop precision qualifier for metis, scotch installation (include, lib) as being unneeded, but it is simpler to keep them and continue to use the FOAM_EXT_LIBBIN path (in case other ThirdParty software is compiled with different precisions).
-
- Nov 12, 2016
-
-
Henry Weller authored
Based on patch contributed by Alexey Matveichev Resolves feature-request http://bugs.openfoam.org/view.php?id=2330
-
- Nov 13, 2016
-
-
Mark Olesen authored
- Cannot pass through to underlying list constructor directly. - As this constructor was broken, there seem to be a number of workarounds scattered in the code. Could revisit them in the future as part of code-style: edgeMesh(const Xfer<pointField>&, const Xfer<edgeList>&); CompactIOField(const IOobject&, const Xfer<Field<T>>&); GlobalIOField(const IOobject&, const Xfer<Field<Type>>&); IOField(const IOobject&, const Xfer<Field<Type>>&);
-
Mark Olesen authored
- Condition is there to catch cases where the vtkSurfaceFormat returns no zones (which should never be the case), but assigns a fallback value without first resizing.
-
- Nov 12, 2016
-
-
Mark Olesen authored
-
Mark Olesen authored
- This format is fortunately little-used (or never used) since its inception. Using raw stream operators to write zones, points and faces in a single file was not well thought out - the output content varies with the Face template type (face, triFace, labelledFace), which makes it not very robust at all. The static read in OFSsurfaceFormat also has a bug - keeping transcribed faces from being passed through. Conclusion: removing it makes more sense that repairing and still not having something good. Do retain stream operators for MeshedSurface and UnsortedMeshedSurface, since they are useful for passing around data (eg, between processors), but they shouldn't be used for files.
-
- Nov 09, 2016
-
-
mattijs authored
-
Mark Olesen authored
- Follow similar pattern as per boost/CGAL with the '*-none' to disable, and '*-system' for system installations. Also support central non-ThirdParty installations by specifying the version as "*-system", but also providing the fully qualified *_ARCH_PATH too. -- ENH: Verify label and scalar sizes used in the metis header. - ensure they match with expected values, which can be obtained via the OpenFOAM definitions for WM_LABEL_SIZE and WM_PRECISION_OPTION
-
- Nov 08, 2016
-
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
- Nov 07, 2016
- Nov 04, 2016
-
-
Mark Olesen authored
- Only reference the FOAM_EXT_LIBBIN locations when linking. The respective SCOTCH_ARCH_PATH/lib, METIS_ARCH_PATH/lib locations either do not exist, or are possibly inconsistent and won't be seen at run-time anyhow. - Incorporate decompose/metisDecomp/Allwmake into the top-level decompose/Allwmake
-
Andrew Heather authored
-
Mark Olesen authored
On 64-bit systems, the system installations of boost, cgal are under lib64/. The behaviour for a ThirdParty build is mostly lib/ but this can also be changing. Boost 1_62_0 and older build into 'lib/'. CGAL-4.9 builds into 'lib64/', older versions into 'lib/'. Future-proof things by using lib$WM_COMPILER_LIB_ARCH for boost and cgal build rules, and forcing these as build targets in the ThirdParty makeCGAL as well. -- STYLE: check for boost/version.hpp, CGAL/version.h instead their directories
-
- Nov 03, 2016
-
-
Mark Olesen authored
- was incorrectly writing it as "startFace", which would be immediately overwritten anyhow STYLE: avoid noisy output when adding the boundary 'type' in mesh conversion.
-
Mark Olesen authored
Note: classes are prefixed with 'foamVtk' instead of 'vtk' to avoid potential conflicts with VTK itself. foamVtkCore ~~~~~~~~~~~ - General very low-level functionality. foamVtkPTraits ~~~~~~~~~~~~~~ - Traits type of functionality for VTK foamVtkOutputOptions ~~~~~~~~~~~~~~~~~~~~ - The various format output options as a class that can be passed to formatters etc. foamVtkCells ~~~~~~~~~~~~ - Intended for unifying vtkTopo and PV-Reader code in the future. - Handles polyhedron decompose internally etc foamVtkOutput, foamVtkFormatter ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - Output helpers. - Selector for individual formatters. Currently write all scalar data a 'float' (not 'double'). Can revisit this in the future.
-
Andrew Heather authored
-
Andrew Heather authored
-
Mark Olesen authored
- still needs to be applied and tested
-
- Nov 01, 2016
-
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
- Oct 31, 2016
-
-
Mark Olesen authored
- Write the individual contents, without a surrounding 'boundaryField' block. Similar to what dictionary::writeEntries() offers.
-
Mark Olesen authored
- Can currently have a periodic restart, but for simulations with a known run-up, it can be useful to have a specific time to restart the averaging. - Note that the restartTime acts as a 'single-shot'. If the restartTime is already in the past when a simulation is started, it is ignored. If, during a simulation, the restartTime is crossed, it will be triggered and then set itself to be ignored in the future.
-
- Oct 28, 2016
-
-
Mark Olesen authored
GIT: added missing source file. ENH: add tutorial example under incompressible/simpleFoam/motorBike
-