Commit Graph

4628 Commits

Author SHA1 Message Date
aa217c2867 Added combine function to combine two pointConstraints 2010-01-05 22:13:45 +00:00
9c79927b67 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2010-01-05 11:02:03 +00:00
6fa46f7bdc Tutorial updates 2010-01-05 10:58:40 +00:00
a9dc4ecca2 Adding build of metisDecomp before meshTools. 2010-01-04 18:29:07 +00:00
aac29d740a Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2010-01-04 13:37:37 +00:00
c6d4035ced Added master-slave addressing for coupled points.
- Rewrote globalPoints to use globalIndex class so now only transfers
single label instead of labelPair
- Added addressing in globalMeshData
    - from coupled master points to slave points
    -         ,,          edges     ,,    edges
    - from coupled points (master or slave) to uncoupled boundary faces
    -               ,,                    ,,                      cells
- See test/globalMeshData for simple test
2010-01-04 13:25:30 +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
e0ba4cbb02 Adjust line number before/after #calc{} scanner for improved error messages. 2010-01-03 21:45:32 +01:00
ebfdafad7f Add preliminary wmake rule for using CoCo/R. 2010-01-03 00:39:28 +01:00
d1a2be7872 Reorganize runTimeSelection to include new macros from calcEntry.
Added globalFunctionSelectionTables, staticMemberFunctionSelectionTables
2010-01-02 16:09:08 +01:00
cf91174880 Use global lookup tables for the calcEntry scalar functions.
Handle leading signs on functions etc.
2010-01-02 15:09:17 +01:00
f8147f5bb5 Add basic scalar functions to calcEntry. 2010-01-02 13:01:37 +01:00
73781ad682 Added clearing out existing map; added reverse distribution 2010-01-01 11:14:21 +00:00
48b98e4dc7 Corrected header 2009-12-30 16:08:48 +00:00
dfbd0119dd Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-12-22 10:35:22 +00:00
25bf6b6ce8 Minor code style corrections 2009-12-22 10:06:37 +00:00
c0d37d9a6b Merge commit 'OpenCFD/master' into olesenm 2009-12-21 15:06:31 +01:00
8bf3807c3e Update dictionary calcEntry testing for updated CoCo/R 2009-12-21 15:02:33 +01:00
ccdbf4735f Move CocoParserErrors.H template class into src/OpenFOAM/db/error 2009-12-21 14:14:30 +01:00
d241c43ac7 Adding hard-coded tetraherdal solid inertia calculation. Can be used
in a similar way to calculate the inertia of cells.
2009-12-21 10:29:05 +00:00
2792624996 Expose STL std streams in a consistent manner for serial streams.
Previously Fstreams had stdStream() as a public member and the other
streams had stream() as a protected member.

All serial streams now have public method stdStream() and the stream()
method has been eliminated. This is not only more consistent, but also
avoids confusion (for the programmer, not the compiler) with the
ITstream::stream() method.
2009-12-21 10:24:35 +01:00
438a83fc81 Update experimental dictionary #calc for new Coco pragmas 2009-12-21 09:28:17 +01:00
aa847562ce Reimplementing the uniform density solid inertia calculation from:
http://www.geometrictools.com/LibPhysics/RigidBody/RigidBody.html

in surfaceInertia utility.  Allows calculation of shell or solid
properties of a triSurface, with optionally specified volumetric or
surface density.  Default behaviour is to calculate inertia around
centre of mass, with option to specify reference point.

Various test surfaces supplied and tested against analytical results.
2009-12-18 18:14:32 +00:00
3bfec62cee Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-12-17 15:55:21 +00:00
e8b1f746dd Disabled moving internal points since not proven to be benificial 2009-12-17 15:54:41 +00:00
b2b242a858 Allocated non-zero fvPatchField - caused memory leak since pointer redirected 2009-12-17 15:54:08 +00:00
9e11bc2d93 Merge branch 'olesenm' 2009-12-16 15:15:03 +00:00
14553e1c4d Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-12-16 15:03:19 +00:00
7a4c03b97a Added interPhaseChangeFoam tutorial case: cavitatingBullet 2009-12-16 15:02:49 +00:00
daf1d6db3d Fixed bad usage of Foam::FatalErrorIn in chemkinLexer.L 2009-12-16 15:43:56 +01:00
e434b51914 Add namespace qualifier to WarningIn, FatalErrorIn, etc. macros.
- Previously had just 'Warning' instead of '::Foam::Warning', which
  meant that an identically named class method would inadvertently be
  used - resulting in a compile failure.
2009-12-16 08:55:04 +01:00
a5217d7be3 Merge commit 'bundle/home' into olesenm 2009-12-16 08:08:23 +01:00
cfeeea7b71 Merge commit 'OpenCFD/master' into olesenm 2009-12-16 08:03:50 +01:00
ad2204a818 Add in calcEntry as a very rough draft
- needs Coco/R 16 Dec 2009 version
2009-12-16 01:31:44 +01:00
23f5e5917a Remove unused primitiveEntry::insert() private method.
Improve constructors.

    - Use (const UList<token>&) instead of (const List<token>&)

    - Add (const Xfer< List<token> >&) constructor.
2009-12-15 17:35:21 +01:00
e325814c80 Test application for syncTools functionality 2009-12-15 16:00:47 +00:00
06aaed2a82 Changed comment 2009-12-15 15:59:28 +00:00
a41cb80316 Added unset functionality and corrected assignment 2009-12-15 15:58:54 +00:00
b877323a33 Added baffle option and corrected default setting
When faceZones are present one has to decide whether to have zone faces
only on the edge of cellZones or also freestanding.
The setting for minMedialAxisAngle was corrected since the calculation
has also been corrected.
2009-12-15 15:56:35 +00:00
409fb9aa9a Use openmpi-1.4, which was released 2009-12-08 (minor security fix).
According to the openmpi release information:
- Use GNU Libtool 2.2.6b to build Open MPI, which updates the
  embedded "libltdl" library to fix a potential security
  vulnerability. There are no other changes compared to Open MPI
  v1.3.4.

For development purposes it should thus be adequate to simply

    ( cd $WM_THIRD_PARTY_DIR && mv openmpi-1.3.4 openmpi-1.4 )

if you don't wish to recompile things.
2009-12-15 16:43:33 +01:00
fb2bd52972 Use openmpi-1.4, which was released 2009-12-08 (minor security fix).
According to the openmpi release information:
- Use GNU Libtool 2.2.6b to build Open MPI, which updates the
  embedded "libltdl" library to fix a potential security
  vulnerability. There are no other changes compared to Open MPI
  v1.3.4.

For development purposes it should thus be adequate to simply

    ( cd $WM_THIRD_PARTY_DIR && mv openmpi-1.3.4 openmpi-1.4 )

if you don't wish to recompile things.
2009-12-15 16:43:33 +01:00
268ed99a7e Fix size bug in PackedList operator=, spotted by Mattijs.
- the size_ was not being adjusted in two assignment operators:
      PackedList<nBits>::operator=(const PackedList<nBits>&)
      PackedList<nBits>::operator=(const UList<label>&)
2009-12-15 13:01:48 +01:00
2c815e5b84 Improve ITstream constructors.
- Use (const UList<token>&) instead of (const List<token>&)

- Add (const Xfer< List<token> >&) constructor.
2009-12-15 12:59:50 +01:00
96be92b395 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-12-15 11:38:58 +00:00
1e086391b7 Branch merge + conflict resolution 2009-12-15 11:38:23 +00:00
2760c3db5f Merge commit 'OpenCFD/master' into olesenm 2009-12-15 10:48:51 +01:00
02ef85faef Use first() and last() methods in primitiveEntry. 2009-12-15 09:37:09 +01:00
3f0b6ec830 Fix minor bug in ITstream
- The lineNumber of token::undefinedToken was being changed instead of
  just the lineNumber of the return token.

- use List::first() and List::last() methods as well
2009-12-15 09:27:27 +01:00
1b45fab97a Add minor documentation to pTraits specializations. 2009-12-15 09:03:07 +01:00
eb0c408262 Add very rudimentary output support for wide-characters. 2009-12-15 08:38:06 +01:00