Commit Graph

207 Commits

Author SHA1 Message Date
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
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
e852355764 extra printing 2009-09-15 15:02:06 +01:00
da4337fcce derive from wall patch instead of generic patch 2009-09-10 12:44:20 +01:00
fd1873fe4b handling zero-sized triangles 2009-09-04 12:25:42 +01:00
56fb2b6db9 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-08-28 18:39:01 +01:00
8dcea0f8cd using new constant definitions 2009-08-28 18:04:22 +01:00
a33fbc12b2 added error checking 2009-08-28 12:35:39 +01:00
91b0fcba61 changed cloud name to avoid clashes 2009-08-25 13:42:35 +01:00
3e0ec9d835 code tidying 2009-08-18 10:43:51 +01:00
5c90c347f9 mapDistribute non-blocking of non-contiguous data 2009-08-13 17:28:33 +01:00
31c76da40f Changed the runtime-selection tables to output a sorted toc. 2009-08-06 18:01:28 +01:00
1aab4aaec8 changed comment; added faceZoneToCell source 2009-06-25 16:24:26 +01:00
9dba5f3e28 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-06-23 16:00:46 +01:00
c5c00b64ba removed access to offsets from globalIndex 2009-06-23 13:15:19 +01:00
d17234707b changed comment 2009-06-23 13:14:32 +01:00
1a439b02d0 Sorted warning message about the need for virtual destructor. 2009-06-23 12:14:03 +01:00
c2c9681bff optional merging of sub-regions 2009-06-01 16:25:24 +01:00
ed73a70b95 input checking 2009-06-01 13:24:38 +01:00
10c2f6bee0 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-05-21 10:13:42 +01:00
55e766bd67 Fix: edge lookup from edgeLabels_ by index rather than just from edges 2009-05-19 15:48:54 +01:00
f97e559be8 Merge branch 'master' into lagrangianDev 2009-05-18 17:10:02 +01:00