- Dec 14, 2016
- Dec 12, 2016
-
-
mattijs authored
This is controlled by the setting maxCommsSize in etc/controlDict which specifies the max number of bytes per exchange. If set to <= 0 it is ignored. This max size of messages is important when doing e.g. load balancing which can send over whole meshes.
-
- Dec 09, 2016
-
-
Mark Olesen authored
-
Mark Olesen authored
-
- Dec 07, 2016
-
-
Mark Olesen authored
-
mattijs authored
-
mattijs authored
-
- Dec 06, 2016
-
-
Mark OLESEN authored
ENH: improve objectRegistry functionality (issue #322) - Recursive searching for objects within a registry is now optional (previous it was always done). A recursive search effectively blocks the construction of sub-sub-registries if their names are 'masked' by some parent level sub-registry with the same name! (BUG) - Recursive search is now turned OFF by default, which makes it consistent with dictionary and probably causes the least number of surprises. ---- Various new convenience methods added: lookupObjectRef() - returns a non-const reference. For example, volScalarField& U = mesh().lookupObjectRef<volScalarField>("U"); Instead of volScalarField& U = const_cast<volScalarField&> ( mesh().lookupObject<volScalarField>("U") ); -- lookupObjectPtr() - returns a const pointer, and nullptr on failure. For example, const volScalarField* Uptr = mesh().lookup...
-
Andrew Heather authored
runTimePostProcessing FO camera update - 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; focalPoint (0 0 0); up (0 1 0); position (0 0 1); // Optional entries clipBox (-0.0206 -0.0254 -0.0005) (0.29 0.0254 0.0005); viewAngle 20; zoom 1.1; } ``` See merge request !81
-
Andrew Heather authored
-
Andrew Heather authored
-
mattijs authored
-
- Dec 05, 2016
- Dec 01, 2016
-
-
Mark Olesen authored
- provide additional filtering methods on names(), sortedNames() For example, IOobjectList objects = ...; wordReList selection = ...; objects.sortedNames(VolFieldType::typeName, selection);
-
mattijs authored
-
mattijs authored
-
Mark Olesen authored
-
Mark Olesen authored
- Recursive searching for objects within a registry is now optional (previous it was always done). A recursive search effectively blocks the construction of sub-sub-registries if their names are 'masked' by some parent level sub-registry with the same name! (BUG) - Recursive search is now turned OFF by default, which makes it consistent with dictionary and probably causes the least number of surprises. ---- Various new convenience methods added: lookupObjectRef() - returns a non-const reference. For example, volScalarField& U = mesh().lookupObjectRef<volScalarField>("U"); Instead of volScalarField& U = const_cast<volScalarField&> ( mesh().lookupObject<volScalarField>("U") ); -- lookupObjectPtr() - returns a const pointer, and nullptr on failure. For example, const volScalarField* Uptr = mesh().lookupObjectPtr<volScalarField>("U"); if (Uptr) { const volScalarField& U = *Uptr; ... } Instead of if (mesh().foundObject<volScalarField>("U")) { const volScalarField& U = mesh().lookupObject<volScalarField>("U"); ... } -- lookupObjectRefPtr() - returns a non-const pointer, and nullptr on failure. For example, volScalarField* Uptr = mesh().lookupObjectRefPtr<volScalarField>("U"); if (Uptr) { volScalarField& U = *Uptr; // use as reference (*Uptr) = ...; // or use directly } Instead of if (mesh().foundObject<volScalarField>("U")) { volScalarField& U = const_cast<volScalarField&> ( mesh().lookupObject<volScalarField>("U") ); } -- sortedNames() - now works with template parameters and with regular expression matching as well. For example, wordList names = mesh().sortedNames(); wordList fields = mesh().sortedName<volScalarField>(); Instead of wordList names = mesh().sortedNames(); wordList fields = mesh().names<volScalarField>(); Foam::sort(fields); --
-
Mark Olesen authored
- test clearly shows failure to insert a sub-registry when it has the same name as one of the parent sub-registry.
-
- Nov 29, 2016
-
-
Mark Olesen authored
-
Mark Olesen authored
- the user might otherwise be unaware of the changed location
-
Mark Olesen authored
- both are typedefs for UList<label>
-
Mark Olesen authored
- was using direct face ids instead of appropriate sub-lists - also removed typo that wasn't helping much either
-
Mark Olesen authored
-
Mark Olesen authored
- remove remnant nullptr check
-
- Nov 28, 2016
-
-
Mark Olesen authored
-
Mark Olesen authored
- vtkkwiml headers use old-style casts, so reduce compile-time warnings
-
Mark Olesen authored
- newer versions of paraview build fine, and so do the reader modules, but the reader modules won't load (need to upgrade the classes).
-
Mark Olesen authored
- now that adios_config flags are largely working in ThirdParty
-
Mark Olesen authored
STYLE: only use paraview settings when actually available - this means executing makeParaView prior to building OpenFOAM itself, but is consistent with the instructions given by makeParaView, and elminates anticipating the source location from the paraview config file, which increases the build flexibilty for ThirdParty
-
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; }
-
Andrew Heather authored
Feature noise multiple files Enabled pointNoise and surfaceNoise models to operate on multiple input files - For each model, the files should be specified by the `inputFiles` keyword - When applied to pointNoise, the file is no longer required when specifying the CSV input data - the singular `inputFile` entry is still available to the surfaceNoise model for backwards compatibilty See merge request !80
-
Andrew Heather authored
-
Andrew Heather authored
Function objects - ensure objects are up-to-date when writing See merge request !79
-