- Jul 17, 2017
-
-
Mark OLESEN authored
- use allocator class to wrap the stream pointers instead of passing them into ISstream, OSstream and using a dynamic cast to delete then. This is especially important if we will have a bidirectional stream (can't delete twice!). STYLE: - file stream constructors with std::string (C++11) - for rewind, explicit about in|out direction. This is not currently important, but avoids surprises with any future bidirectional access. - combined string streams in StringStream.H header. Similar to <sstream> include that has both input and output string streams.
-
Mark OLESEN authored
-
- Jul 03, 2017
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
-
- Jun 13, 2017
-
-
Mark OLESEN authored
- elminate the foamVtkFormatter operator() in favour of xmlAttr. Improves readability and the purpose is clearer.
-
- May 24, 2017
-
-
Mark OLESEN authored
- The reader module allows two levels of caching. The OpenFOAM fvMesh can be cached in memory, for faster loading of fields. Additionally, the translated VTK geometries are held in a local cache. The cached VTK geometries should incur no additional overhead since they use the VTK reference counting for their storage management.
-
- May 23, 2017
-
-
Mark OLESEN authored
ENH: Paraview modules. - Update props with int, not bool (for more versatility) - Set properties and tool-tips directly on widgets instead of buttons
-
- May 15, 2017
-
-
Mark OLESEN authored
- this allows filling in the VTK structures without intermediate data and without sequencial insertion. Should be faster and smaller than the previous cell-wise insertion methods. Most importantly, it improves code reuse.
-
Mark OLESEN authored
-
Mark OLESEN authored
- this greatly simplifies data management and opens the possibility of reusing converted vtk meshes instead of converting each time.
-
- May 14, 2017
-
-
Mark OLESEN authored
- has the selected values directly and use these lookup names to store directly into a hash. This replaces several parallel lists of decomp information etc and makes it easier.
-
Mark OLESEN authored
- improves the overview of the code
-
Mark OLESEN authored
- avoids potentially issues if we reusing a vtkPoints array, and should be marginally faster without the additional range checking.
-
Mark OLESEN authored
- adds flexiblity and reduces risk of memory leaks as we add/change features STYLE: adjust naming for paraview internal polyDecomp
-
- May 12, 2017
-
-
Mark OLESEN authored
- easier to detect the implicit grouping
-
Mark OLESEN authored
- also use updated forAll* macros
-
- May 18, 2017
-
-
Mark OLESEN authored
COMP: avoid undefined-var-template warning in runTimePostProcessing
-
Mark OLESEN authored
- simplifies organization, includes, linkage etc.
-
- May 10, 2017
-
-
Mark OLESEN authored
- less clutter and typing to use the default template parameter when the key is 'word' anyhow. - use EdgeMap instead of the longhand HashTable version where appropriate
-
- Apr 24, 2017
-
-
Andrew Heather authored
-
- Apr 04, 2017
-
-
Mark Olesen authored
- they don't use scotch/metis anyhow, which are the only things placed in FOAM_EXT_LIBBIN
-
- Feb 24, 2017
-
-
Mark OLESEN authored
- can be used directly from within an application or function-object. Makes it available for dictionaries.
-
- Feb 23, 2017
-
-
Mark Olesen authored
STYLE: improve consistency in Allwclean scripts
-
- Feb 10, 2017
-
-
Mark Olesen authored
- reduces unexpected interactions between various make elements
-
- Feb 03, 2017
-
-
Andrew Heather authored
-
- Feb 01, 2017
-
-
Mark Olesen authored
- more stable/predictable to check for a bounding box !empty() rather than comparing to greatBox directly.
-
- Jan 23, 2017
-
-
Mark Olesen authored
Eg, librunTimePostProcessing.so librunTimePostProcessing.so.7 -> librunTimePostProcessing.so.7.1.0 librunTimePostProcessing.so.7.1.0 - centralize handling of paraview/vtk versioning into wmake/cmakeFunctions
-
- Jan 12, 2017
-
-
Mark Olesen authored
- add support for patch names in block mesh reader.
-
Mark Olesen authored
- as originally intended years ago, but never actually done. - use 'foamPvCore' instead of 'vtkPVReaders' to avoid potential name collisions with any 'vtk*' files and since we may reuse these functions in other foam-paraview modules (not just readers). STYLE: use same font size/colour for patch-names as for point-numbers BUG: repair issue with single time-step - paraview time-selector returns '0' as the requested time if there is only one time step. However, if we have skipped the 0/ directory, this single time step is likely a non-zero value.
-
- Jan 05, 2017
-
-
Mark Olesen authored
- use "-pvMAJ.MIN" suffix for similarity with the paraview convention - use sentinel file to ensure clean change of intermediate targets - ensure all library files are being properly removed
-
Mark Olesen authored
- remove old (ParaView-3) files - Works in 4.4.0, 5.0.1, 5.2.0 etc STYLE: - slots now use SM properties directly without a second lookup. This reduces exposure of the QT elements and simplifies the coding. - avoid focus borders on the Qt elements - place the "use Polyhedron" checkbox into a column - move "Cache Mesh" down in the GUI (an advanced feature and thus should be less prominent) - obtain button labels/tooltip directly from the XML content
-
- Jan 04, 2017
-
-
Mark Olesen authored
- use property group customization instead of individual pqPropertyWidget
-
Mark Olesen authored
- although this is not the final desired form, since it uses individual pqPropertyWidget customizations (ie, ugly layout, too many bits of code), but is an interesting intermediate solution that may be useful in other contexts.
-
- Dec 22, 2016
-
-
Mark Olesen authored
-
- Dec 15, 2016
-
-
Andrew Heather authored
-
- Dec 06, 2016
-
-
Andrew Heather authored
-
Andrew Heather authored
-
- Nov 28, 2016
-
-
Andrew Heather authored
- Removed the camera 'mode' - The (old) static camera was only appropriate when parallel projection was inactive, and the view was centred at (0 0 0) - Camera input now always requires 'position' and 'focalPoint' - Clip box is now optional. Note that this is applied after the camera set-up and so will override the camera position - View angle is only appropriate when not using parallel projection - Zoom now required, applied after all other operations - 1 = do nothing, >1 = zoom in, <1 = zoom out Example input: camera { // Total number of frames to generate nFrameTotal 1; // Parallel projection flag parallelProjection no; // Optional clippling box clipBox (-0.0206 -0.0254 -0.0005) (0.29 0.0254 0.0005); focalPoint (0 0 0); up (0 1 0); position (0 0 1); viewAngle 20; zoom 1.1; }
-
- Dec 06, 2016
-
-
Henry Weller authored
Resolves bug-report http://bugs.openfoam.org/view.php?id=2372
-