- Nov 16, 2016
-
-
Andrew Heather authored
INT: Integration of functionality produced by The Environmental Hydraulics Institute "IHCantabria" (http://www.ihcantabria.com/en/) Capabilities include: - Wave generation - Solitary wave using Boussinesq theory - Cnoidal wave theory - StokesI, StokesII, StokesV wave theory - Active wave absorption at the inflow/outflow boundaries based on shallow water theory Authors: - Javier Lopez Lara (jav.lopez@unican.es) - Gabriel Barajas (barajasg@unican.es) - Inigo Losada (losadai@unican.es)
-
- Nov 15, 2016
-
-
Andrew Heather authored
-
- Nov 14, 2016
-
-
Mark OLESEN authored
Surface declutter - issue #294 Removing various clutter from surfMesh and triSurface - unused classes/files (backup copies on non-release repo) - relocate some triSurface-related classes to where they make more sense, and where they can be reused. - improve handling of various face types in MeshedSurface and UnsortedMeshedSurface (to bridge the gap to triSurface) - improve transfer methods for reclaiming/reusing surface allocations See merge request !77
-
- Nov 13, 2016
-
-
Mark Olesen authored
- A special purpose MeshedSurface that exposes the stored values for direct modification. - Its usage should be restricted to special cases where the surface needs modifications as an atomic operation.
-
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
-
-
Mark Olesen authored
- the surfMesh classes where originally designed with limited (protected) access to the underlying components. This is to avoid unintentional direct changes, since these can quickly lead to inconsistencies with the topology addressing etc. However, if we wish to efficiently adjust surfaces, it is useful to modify the components directly. The compromise is to provide 'xfer' methods: - xferFaces() - xferPoints() - xferZones() These transfer the contents to an Xfer container for reuse, while also resetting the topology addressing. To apply the changes, the reset() method is used.
-
- Nov 13, 2016
-
-
Mark Olesen authored
-
- Nov 12, 2016
-
-
Mark Olesen authored
- extends existing surfaceFormats to include surfaces with labelledTri as their face representation.
-
- Nov 13, 2016
-
-
Mark Olesen authored
- needed for triSurface output (when it comes)
-
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.
-
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 11, 2016
-
-
Mark Olesen authored
- since Icc is actually mentioned in bashrc/cshrc it is consistent to set these values accordingly.
-
Mark Olesen authored
-
Mark Olesen authored
- Cannot test if these older reader modules actually build, owning largely to build issues since with paraview 3.14 (Feb 2012) and paraview 3.98 (Dec 2012) themselves.
-
Mark Olesen authored
- updated code to use current API level 142. - ThirdParty build of tecio now uses CMake.
-
- Nov 10, 2016
-
-
Mark OLESEN authored
Improvements to the conversion utilities Various changes associated with issue #204. * Reduced code duplication for handling prostar conversion and IO * Simple conversion to/from AVL/FIRE geometries * New library basis for conversion to/from CCM geometries - handles multiple regions, conformal interfaces etc. No support for film or 2d shell geometries * Improved infrastructure for writing VTK content. Will propagate usage through other parts of the code in the future. See merge request !76
-
- Nov 09, 2016
-
-
mattijs authored
-
mattijs authored
-
Mark OLESEN authored
Feature keep sampled pids Rebased version of merge request !58, following ticket closure for issue #104 . See merge request !75
-
mattijs authored
-
mattijs authored
-
Mark Olesen authored
- relied on 'export' keyword, which was removed in commit b8448671 -- ENH: foamConfigurePaths support for additional items: -label 32|64 specify label size -system name specify 'system' compiler to be used -thirdParty name specify 'ThirdParty' compiler to be used -boost ver specify boost_version -boostArchPath dir specify BOOST_ARCH_PATH -cgal ver specify cgal_version -cgalArchPath dir specify CGAL_ARCH_PATH -clang ver specify clang_version for ThirdParty Clang -cmake ver specify cmake_version -fftw ver specify fffw_version -fftwArchPath dir specify FFTW_ARCH_PATH -metis ver specify METIS_VERSION -metisArchPath dir specify METIS_ARCH_PATH
-
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
-
mattijs authored
-
mattijs authored
-
- Nov 08, 2016
-
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
- Nov 07, 2016