Commit Graph

210 Commits

Author SHA1 Message Date
Mark Olesen
3c30eca1cc STYLE: drop check for paraview versions
- we don't support paraview < 3.x anymore
2011-03-28 11:07:10 +02:00
Mark Olesen
f182b725da STYLE: use 'static const' instead of 'const static' for consistency 2011-03-01 15:21:30 +01:00
Mark Olesen
6590b211e9 COMP: remove regExp dependency from polyBoundaryMesh 2011-02-18 18:21:11 +01:00
andy
ddffdd5627 COMP: Added OSspecifc/WM_OSTYPE include to PV3 reader CmakeLists 2011-02-16 11:32:49 +00:00
Henry
c3cb632c24 Documentation: converted javadoc @ to LaTeX style \ in Doxygen code docs 2011-02-08 18:22:00 +00:00
Mark Olesen
e95e9700c8 Merge remote branch 'OpenCFD/master' into olesenm 2011-01-17 10:21:58 +01:00
andy
eaef8d482b STYLE: Updated 1991 start copyright year to 2004 2011-01-14 16:08:00 +00:00
andy
14d1300a36 Revert "STyLE: More 2011 copyright dates (non-code)."
This reverts commit 2e1e671d96.
2011-01-05 18:25:32 +00:00
andy
099cc39e2e Revert "STYLE: 2011 copyright date."
This reverts commit b18f6cc1ce.
2011-01-05 18:24:29 +00:00
graham
2e1e671d96 STyLE: More 2011 copyright dates (non-code). 2011-01-05 11:48:24 +00:00
graham
b18f6cc1ce STYLE: 2011 copyright date. 2011-01-05 11:14:26 +00:00
Mark Olesen
5e12506f8e ENH: improve separation of OpenFOAM and ThirdParty mpi-libraries
- drop FOAM_MPI_LIBBIN variable in favour of FOAM_MPI from which
  two different locations can be determined.

  Previously there was something like this:

      FOAM_MPI_LIBBIN = $FOAM_LIBBIN/openmpi-1.5.1

  We now instead determine the locations from the FOAM_MPI directly:

      FOAM_MPI=openmpi-1.5.1

          $FOAM_LIBBIN/$FOAM_MPI     -> OpenFOAM  mpi-related
          $FOAM_EXT_LIBBIN/$FOAM_MPI -> ThirdPary mpi-related

ENH: relocate ParaView libraries and plugins back under FOAM_LIBBIN

- as discussed with Mattijs
2011-01-05 07:53:54 +01:00
Mark Olesen
4148c975f9 ENH: ensure CMake gets the correct C++ compiler (works with cmake 2.8.3)
- remove settings for really old cmake versions
2010-12-30 16:58:25 +01:00
Mark Olesen
46a5865894 ENH: relocate paraview plugins -> FOAM_EXT_LIBBIN 2010-12-30 16:35:52 +01:00
Mark Olesen
0a17e0719d ENH: use memInfo instead of parsing meminfo ourselves 2010-11-26 13:29:34 +01:00
Mark Olesen
0efa54821a ENH: support regions for PV3blockMeshReader 2010-11-25 13:03:11 +01:00
mattijs
3eefd6de73 ENH: blockMesh : initial blockMesh was created with region 'blockMesh' 2010-11-24 16:55:30 +00:00
graham
ebb9a9e1ac ENH: tet decomposed particle tracking.
Squashed merge of particleInteractions up to
commit e7cb5bcf0315c359539ef1e715e1d51991343391
2010-09-17 16:59:17 +01:00
mattijs
d400262c70 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2010-09-07 14:11:45 +01:00
Henry
8027112f89 PV3Reader: Corrected environment variable check 2010-09-06 17:21:21 +01:00
mattijs
44c71d5537 BUG: having patchnames with uncached mesh 2010-09-06 12:26:10 +01:00
mattijs
131185f5be COMP: added checking on PV_PLUGIN_PATH 2010-08-26 16:17:53 +01:00
graham
28345247a7 STYLE: Fixing code style requirements for more files - those not
picked up by a copyright change.
2010-07-29 11:28:44 +01:00
graham
012494fdb5 STYLE: Fixing code style requirements for all apps.
Exception: applyWallFunctionBoundaryConditions.C cannot split #include
directives.
2010-07-27 15:27:05 +01:00
mattijs
d5fc3e2475 BUG: paraFoam : load pointFields 2010-07-06 11:42:58 +01:00
henry
10c81a6e0c PV3FoamReader: Use the vol-field name rather than volPointInterpolate<vol-field name> for the VTK point fields 2010-06-28 11:48:39 +01:00
mattijs
2eab4044f6 COMP: cellSource compilation 2010-06-02 11:08:52 +01:00
mattijs
c51a2b0f63 ENH: have MUST_READ_IF_MODIFIED on IOdictionary construction 2010-06-02 09:48:07 +01:00
mattijs
8551bfd36b BUG: PV3FoamReader : patch names was addressing outside of zoneCentres array. 2010-05-19 16:33:48 +01:00
Mark Olesen
5087125424 STYLE: remove erroneous section-label on doxygen @endcond 2010-05-07 15:30:27 +02:00
Mark Olesen
5b588af7ab ENH: use simpler API for vtkPolyhedron 2010-05-06 17:56:37 +02:00
Mark Olesen
4ea1f8f98a ENH: enable vtkPolyhedron support when detected 2010-04-30 12:36:49 +02:00
Mark Olesen
72f7d46f23 ENH: add operator[](const word&) as "find-by-name" to some classes
- affected: polyBoundary, fvBoundaryMesh, ZoneMesh, searchableSurfaces

  before:
      const label zoneI = mesh.cellZones().findZoneID(zoneName);
      const cellZone& cz = mesh.cellZones()[zoneI];
  after:
      const cellZone& cz = mesh.cellZones()[zoneName];
2010-04-29 10:12:35 +02:00
Mark Olesen
5debfe4cdf ENH: Remove vtk(Cxx|Type)RevisionMacro, vtkTypeRevisionMacro -> vtkTypeMacro
From VTK notes:
- The CVS $Revision$ keyword replacement will no longer maintain these
  macros automatically.  They were used only to implement CollectRevisions
  and vtkObjectBase::PrintRevisions, an API that was never used.
2010-04-26 09:24:03 +02:00
Mark Olesen
9c32ce1016 STYLE: use forAll macro in more places, avoid LF-CR endings 2010-04-23 18:35:55 +02:00
Mark Olesen
42807ddd7e STYLE: fix worst spacing violations for 'os <<' constructions
- accept some violations of the coding guidelines though
- perhaps adding a style exception would be simpler.
2010-04-13 17:45:49 +02:00
Mark Olesen
b6f3bd4c23 STYLE: follow coding guide recommendation for '//- Destructor' 2010-04-12 11:55:52 +02:00
Mark Olesen
a50f01b079 STYLE: use forAllIter, forAllConstIter instead of long-hand version
STYLE: use 'forAll(' NOT 'forAll (', as per coding guide
2010-04-12 11:18:38 +02:00
Mark Olesen
6adf0cbca8 Merge remote branch 'OpenCFD/master' into olesenm 2010-03-30 11:42:19 +02:00
mattijs
9d216d5280 STYLE: Remove unused debug code 2010-03-30 08:20:22 +01:00
Mark Olesen
d29c438657 STYLE: use url for FSF license instead of postal address, switch to GPL v3 2010-03-29 14:07:56 +02:00
Mark Olesen
01f8538e27 ENH: ignore empty zones in paraview reader 2010-03-19 18:57:09 +01:00
Mark Olesen
ee0dea2284 ENH: add top-level Allwclean for paraview plugins 2010-03-12 14:24:04 +01:00
Mark Olesen
10524cb8a1 STYLE: eliminate ParaView_INST_DIR variable and simplify plugin Make/options
- the 'make install' target from ParaView now installs all of the
  includes necessary for compiling plugins.
2010-03-05 13:04:30 +01:00
Mark Olesen
89615f708e ENH: respect face orientation when decomposing polyhedra.
ENH: use face::trianglesQuads() method for PV3FoamReader as well.
- this avoids missing faces (and weird cells) in the decomposed polyhedra.
2010-03-04 11:20:20 +01:00
Mark Olesen
8c6a5dde5c BUG: match order of symmTensor tuples to match the paraview pqScalarBarRepresentation 2010-03-01 14:21:20 +01:00
Mark Olesen
9352e17eed BUG: fix incorrect node order for VTK_WEDGE in paraview3 reader
This appears to be a long-standing bug!?, since it was also in the
paraview-2 reader.
2010-02-24 16:41:21 +01:00
Mark Olesen
f319ddfa61 ENH: begin initial coding for using upcoming vtkPolyhedron 2010-02-24 15:24:32 +01:00
mattijs
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
mattijs
4b0c5233a9 STYLE: 80 char line length 2010-01-28 11:55:06 +00:00
mattijs
29b76fa714 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2010-01-28 11:52:06 +00:00
mattijs
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
andy
001c78e37d STYLE: no spaces around bracketed args, eg (x) NOT ( x ) 2010-01-28 10:57:48 +00:00
andy
99c22976ea added git option 2009-12-09 10:06:00 +00:00
Mark Olesen
37c4f2f375 remove empty 'Description' from various .C files 2009-12-04 14:11:33 +01:00
Mark Olesen
5e972c772f remove trailing space from some files 2009-12-04 13:39:35 +01:00
Mark Olesen
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
Mark Olesen
909e6b27e4 Apply coding style recommendations:
- space between keyword and bracket in 'for(..)', 'if(..)', 'while(..)'
2009-11-30 08:55:03 +01:00
Mark Olesen
6bdb7fb7b5 fixup copyright dates on new code 2009-11-30 08:21:44 +01:00
Mark Olesen
a51f8d3534 Merge commit 'bundle/home' into olesenm 2009-11-30 08:12:04 +01:00
Mark Olesen
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
Mark Olesen
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
Mark Olesen
81891675ea Commit Paraview enhancements - quit working on sets/zones frills
- Include Sets/Zones now scans immediately to refresh the list of available
  mesh parts. Unfortunately, this also causes the object panel to be
  modified, even although the selection doesn't acutally need to change.
  This seems to be due to how the pqNamedWidgets are getting the information
  from the proxy properties. I can't figure if it's possible to acheive what
  I want, but we can probably live with the current implementation.

  After IncludeZones, simply us 'Reset' to undo the spurious GUI changes.
  Works fine - just looks a bit silly.

- Added 'Refresh' button to rescan for new times/fields.  Good for
  post-processing ongoing calculations without exiting the reader.

- Added 'Skip Zero Time' checkbox: many (some) calculations have
  data missing at time=0 (eg, rho, lagrangian, etc). This provides
  a convenient way to skip over this time.

- Future?:
  We could probably pick up favourite default values for these switches from
  ~OpenFOAM/controlDict, from a case system/paraview, or simply by making
  the casename.OpenFOAM also be an OpenFOAM dictionary with the settings.
2009-11-24 00:09:07 +01:00
Mark Olesen
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
andy
efb0d93a0c removed ParaView 2 reader module 2009-11-19 10:48:28 +00:00
andy
cf9b9bff17 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-11-12 13:29:10 +00:00
Mark Olesen
ebe39c4ea4 Merge commit 'OpenCFD/master' into olesenm 2009-11-04 08:56:20 +01:00
Mark Olesen
b54f89ac05 PV3Reader - render after toggling show point/patch names 2009-11-03 22:13:48 +01:00
henry
d109f88657 Fix for viewing glyphs on a set of patches provided by Mark Olesen. 2009-11-03 20:58:41 +00:00
Mark Olesen
e3b5d373d0 PV3FoamReader bugfix - interpolated point fields had wrong names on the patches 2009-11-03 21:36:50 +01:00
andy
23cf5d94cd code tidying 2009-11-03 14:33:01 +00:00
Mark Olesen
83cee1cb68 First useful Qt modifications to the PV3blockMeshReader, PV3FoamReader
- Show Point Numbers as is_internal="1" and hook directly into a QT-checkbox
  and thus bypass modifying the reader state.

- Same for Cache Mesh and Show Patch Names
2009-10-23 00:33:42 +02:00
Mark Olesen
1ef88a2aef blockMesh reader fix, start refactoring of PV3Readers
- apply scaleFactor (eg, mm->m) in PV3 reader - this looks better when
  overlaying with other objects

- stop segfault when paraview exits without deleting readers first
2009-10-18 17:50:41 +02:00
Mark Olesen
c57262c2a0 Cleanup/fixup paraview readers
- remove patch/point text labels upon deletion

- combined client/server plugin instead of separate .so files
  first experiment with adding panel decorations

- directory reorganization
2009-10-18 16:23:41 +02:00
Mark Olesen
5e852915f5 Merge commit 'bundle/home' into olesenm
Conflicts:
	src/autoMesh/autoHexMesh/trackedParticle/trackedParticle.H
	src/mesh/autoMesh/autoHexMesh/trackedParticle/trackedParticle.H
	src/mesh/blockMesh/blockMesh/blockMeshMerge.C
	src/postProcessing/functionObjects/field/streamLine/streamLineParticle.H
2009-10-08 12:03:35 +02:00
Mark Olesen
e003b5207a PV3blockMeshReader - added display of curvedEdges 2009-10-07 22:42:41 +02:00
Mark Olesen
da62572187 ParaView reader for blockMesh
- first version. Only uses simple hex shapes for the blocks.
2009-10-05 23:36:08 +02:00
Mark Olesen
b0f31c4b05 PV3FoamReader - cosmetic changes 2009-10-05 23:21:42 +02:00
mattijs
791b5aaeaa replacing isType with isA to enable directMappedWall to work 2009-09-15 17:51:59 +01:00
andy
e829004a71 bugfix: use ptf.name() on point fields 2009-09-10 16:02:35 +01:00
Mark Olesen
60549b30f5 ensightFoamReader - updated README* and global_extern*h from ensight-82
- still using the same version of the reader API (2.03)

- this seems to solve strange issues with genericPatchField symbols,
  but it still doesn't get the reader module working.

- added in the release information (the build string)
2009-08-06 14:53:40 +02:00
henry
d4864d9b6e Moved the "generic" BCs into a separate library and included it only in those utilities
which need this functionality.  Solvers will now check the correctness of the BCs on
read.
2009-08-04 22:13:54 +01:00
andy
c1993c92fa Merge branch 'olesenm' 2009-07-23 12:42:52 +01:00
Chris Greenshields
1bfa912781 Modified more Description entries in utilities for documenting purposes 2009-07-22 15:51:53 +01:00
Mark Olesen
5692a06a32 fixed up sloppy Allwclean files 2009-07-22 12:39:20 +02:00
Mark Olesen
bda95a48fd Export new environment variable FOAM_CASENAME
- contains the name part of the FOAM_CASE environment variable
2009-07-22 11:30:03 +02:00
andy
e5c36daef8 using fieldname as label for point field data instead of volPointInterpolate(X) 2009-07-17 18:06:33 +01:00
andy
d8145ab608 cosmetics/coding style updates 2009-07-13 14:38:56 +01:00
henry
218b2baec4 Changed SP and DP to WM_SP and WM_DP. 2009-07-03 11:46:45 +01:00
Mark Olesen
8edf105c45 cleanup of time handling (cosmetic changes), used timeSelector in more places 2009-05-20 15:40:30 +02:00
andy
fa794c981d Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-26 13:50:34 +00:00
andy
9bc9b9cd65 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-23 17:44:57 +00:00
Mark Olesen
852d9f3298 #undef VTKPV3FOAM_DUALPORT to disable dual-port output for paraview reader 2009-03-23 18:39:29 +01:00
Mark Olesen
549c78f9fe PV3FoamReader fix
- using a filter such as clip-plane on a multi-port source causes
  inconsistent UPDATE_TIME_STEPS() on each port. This looks like a
  VTK/Paraview bug to me.
  Workaround: check both ports and take the first one that has a value
  different than the last time set.
2009-03-23 14:53:14 +01:00
andy
ff78c6d637 conflict resolution 2009-03-23 11:58:03 +00:00
Mark Olesen
fe455d1cbf cloud, surfaceRegistry: rename subInstance -> prefix 2009-03-16 08:27:03 +01:00
andy
156b71b9f1 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-12 17:22:35 +00:00
Mark Olesen
e011328d99 Merge commit 'OpenCFD/master' into olesenm 2009-03-12 10:39:22 +01:00
Mark Olesen
b968e62ef9 objectRegistry fixes
- objectRegistry gets a rename() that also adjusts the dbDir
- cloud reworked to use static variables subInstance and defaultName.
  This avoids writing "lagrangian" everywhere

string fixes
- avoid masking of std::string::replace in string.H
- avoid old strstream in PV3FoamReader
2009-03-06 15:18:00 +01:00
mattijs
7e69b33586 include file 2009-03-05 17:01:16 +00:00