Commit Graph

227 Commits

Author SHA1 Message Date
a3fec987a8 CLEANUP: remove most references to (deprecated) .ftr file format
- use .obj files for debugging purposes instead.
2010-02-17 13:56:56 +01:00
7425942742 DOCU: add date of deprecation to deprecated methods/classes 2010-02-17 12:48:19 +01:00
7b3da686d8 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2010-02-08 19:13:37 +00:00
8505ac08dd Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2010-02-04 11:51:50 +00:00
76c0a7bfb9 STYLE: Minor coding style tweaks 2010-02-03 19:08:18 +00:00
8426ca1a8c Merge commit 'OpenCFD/master' into olesenm 2010-02-03 17:40:37 +01:00
30f45a64a4 STYLE: extraneous space 2010-02-03 06:20:17 +00:00
953030879e BUG: fixed retrieving field from sub surface.
It now caters for
- all surfaces having fields
- no surfaces having fields
but not a combination of those.
2010-02-03 06:15:41 +00:00
1ebc06fda3 Merge branch 'sixDofPatch' 2010-02-02 13:30:39 +00:00
8b7f6666ca ENH: sets are now searched for.
Some tools now output sets at the pointsInstance (if relating to geometry),
some at the facesInstance (if relating to topology).
So when loading them we now search for them from current time down
to facesInstance. They cannot be beyond facesInstance.
Adapted Time::findInstance to take optional limiting instance. Adapted
topoSet to use this. Adapted all uses of IOobjectList on sets to do the
same.
2010-01-29 10:25:13 +00:00
36ed688f2d Merge branch 'master' into sixDofPatch 2010-01-28 15:33:50 +00:00
0bf1587872 BUG: cell/face/pointSet should be read from facesInstance, not pointsInstance.
This comes up when displaying sets on moving meshes. The topology does not
change so the set should stay the same.
2010-01-28 11:50:52 +00:00
011bbf46bc ENH: splitMeshRegions now fills in coupling information in directMapped patch.
- added directMapped*Patch constructors with uniform offset
- changed splitMeshRegions to use it
- adapted chtMultiRegionFoam tutorials
2010-01-27 13:24:06 +00:00
2d91dedaa0 Merge commit 'OpenCFD/master' into olesenm 2010-01-22 13:23:43 +01:00
129f796211 Merge branch 'master' into sixDofPatch 2010-01-19 13:31:36 +00:00
8f656fffab Added functions to searchableSurface to get coordinates and store/retrieve an elementwise field.
Added numbering on searhableSurfaceCollection.
2010-01-15 17:34:26 +00:00
c182daf90a Corrected usage of treeBoundBox::extend 2010-01-15 17:21:20 +00:00
a694f6e374 Replace a few uses of triSurface with the more general meshedSurface. 2010-01-15 17:27:03 +01:00
1e78a14865 Handle tracking on face or edge 2010-01-13 19:08:01 +00:00
0e0ffa4082 Moved metis into its own library.
Scotch is now built using its own build system which builds
an additional metis.h which conflicts with the metis one so
to have separate include directory settings we also need separate
Make/ structures.
2010-01-04 12:55:58 +00:00
9e3527b315 Added more intelligent checking for finding same intersection 2009-12-09 17:42:57 +00:00
a820021a0a Adding moment of inertia code, unused as yet. 2009-12-06 12:20:38 +00:00
5e972c772f remove trailing space from some files 2009-12-04 13:39:35 +01:00
51fd6327a6 use PackedBoolList typedef instead of PackedList<1>
Note:

PackedList constructor initializes to zero, faster not to do it
ourselves.
ie,
    PackedList foo(nPoints);
vs.
    PackedList foo(nPoints, 0);

saves an extra nPoints operations with shifts/masks etc.

If speed is important, change this type of code

    PackedList isMaster(nPoints, 1u);
    for (loop)
    {
        if (condition)
        {
            isMaster.set(i, 0u);   // unset bit
        }
    }
    return isMaster;

into this:

    PackedList notMaster(nPoints);
    for (loop)
    {
        if (!condition)
        {
            notMaster.set(i, 1u);
        }
    }
    notMaster.flip();
    return notMaster;

or this:

    PackedList isMaster(nPoints);
    isMaster.flip();

    for (loop)
    {
        if (condition)
        {
            isMaster.set(i, 0u);
        }
    }
    return isMaster;
2009-12-02 17:04:31 +01:00
00985638d8 remove fvCFD.H usage from remaining library source
- exception calcType.H since it'll most likely be used for building
  applications anyhow

- use quailified names in more of the lagrangian code

- killed some tab indents in various places.
2009-12-02 15:34:52 +01:00
909e6b27e4 Apply coding style recommendations:
- space between keyword and bracket in 'for(..)', 'if(..)', 'while(..)'
2009-11-30 08:55:03 +01:00
fa93ce8cd7 coding style adherence
- markup codingStyleGuide.org examples so they actually indent correctly

- use 'Info<<' as per codingStyleGuide instead of 'Info <<'
2009-11-27 15:39:14 +01:00
d17d015f88 Use new last() method for List-type classes
- use first() method in some places as well where it helps clarity

- there are a few remaining cases: git grep 'size()-1]'
2009-11-26 13:35:57 +01:00
9157364a4b Merge commit 'OpenCFD/master' into olesenm 2009-11-25 12:29:31 +01:00
5bb620de10 scheduled or non-blocking polyMesh initialisation 2009-11-23 12:44:46 +00:00
2c52705cf7 move reconstructPar 'guts' to src/parallel/reconstruct
- in preparation for adding an optional '-reconstruct' to a few utilities
  re-use as -lreconstruct library

- move related stuff there too
      src/decompositionMethods/decompositionMethods
      -> src/parallel/decompositionMethods

- added missing namespace qualifiers
2009-11-20 14:37:56 +01:00
7c32ccaaa0 compiler bug workaround 2009-11-13 18:27:30 +00:00
fffde6ed5d explicit constructors 2009-11-13 18:19:08 +00:00
6ae8581d03 explicit constructor 2009-11-13 18:18:32 +00:00
d7e8802896 removed octreeDataFaceList; created generic PrimitivePatch search one 2009-11-11 17:19:52 +00:00
151f30e779 made container constructors explicit 2009-11-03 18:09:52 +00:00
278e8c5030 Converted constant reference to primitive arguments to constant primitive arguments. 2009-10-26 22:45:21 +00:00
d6a278f2b2 Introduced the new file unitConversion.H to hold degToRad, radToDeg
and other unit conversion functions as they are required e.g. slug <-> kg.
2009-10-21 10:55:00 +01:00
ffc9d0d97b find/replace pi/180.0 -> degToRad() and 180.0/pi -> radToDeg()
- note left utilities/mesh/advanced/collapseEdges/collapseEdges.C as-is.
  It looks suspicious, but the change was recent, so maybe it means something
2009-10-19 13:53:25 +02:00
e9da288118 Reverted the Americanism "math" back to the original "mathematical" and reverted name of
the include file back to mathematicalConstants.H to make upgrading code slightly easier.
2009-10-10 22:58:58 +01:00
b3624de7a3 named regIOobject for dictionary 2009-10-09 15:11:58 +01:00
c3519f5b4a patch decomposition through mapping 2009-09-29 22:53:17 +01:00
85a2dbaf59 keep flipMap false 2009-09-29 22:51:20 +01:00
c178021ebc sorted addressing 2009-09-29 20:32:08 +01:00
98dd8ff0f6 access to transformation 2009-09-29 20:30:39 +01:00
673100d8aa have non-uniform offset vector 2009-09-29 20:29:38 +01:00
7e985f898e added remove command 2009-09-24 23:48:19 +01:00
72cacc9588 added zoneSets 2009-09-24 18:39:04 +01:00
217d71b9ec changed print message 2009-09-21 10:59:49 +01:00
791b5aaeaa replacing isType with isA to enable directMappedWall to work 2009-09-15 17:51:59 +01:00