Commit Graph

166 Commits

Author SHA1 Message Date
Mark Olesen
449a0e253d ENH: add -current option to foamPackBin, foamPackMake
- reduces typing
2011-02-15 10:08:46 +01:00
Henry
b3cde56f27 Doxygen docs: Corrected doxyFilter to preserve line numbers
Also corrected many formatting errors in the comments in C and H files
2011-02-07 22:50:49 +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
Mark Olesen
ae0bf2b2fe BUG: single instead of double quotes in git hooks message 2011-01-13 11:23:03 +01:00
andy
14d1300a36 Revert "STyLE: More 2011 copyright dates (non-code)."
This reverts commit 2e1e671d96.
2011-01-05 18:25:32 +00:00
graham
2e1e671d96 STyLE: More 2011 copyright dates (non-code). 2011-01-05 11:48:24 +00:00
Mark Olesen
5d18583101 ENH: collect arch-specific directly under platforms/
- platforms/WM_OPTIONS/lib
      old: lib/WM_OPTIONS

- platforms/WM_OPTIONS/bin
      old: bin/WM_OPTIONS
      old: applications/bin/WM_OPTIONS

A runtime environment nows needs
    - bin/
    - etc/
    - platforms/
2011-01-05 08:49:42 +01:00
Mark Olesen
e2db4e630e Merge remote branch 'bundle/home' into olesenm 2011-01-03 10:06:56 +01:00
Mark Olesen
a3a2ea78be ENH: update, cleanup foam packing routines
- update packing for FOAM_EXT_LIBBIN and newer FOAM_APPBIN
- pack OpenFOAM source via 'git archive' for consistency with
  the git repository (use -nogit option to revert to manual packing)
- combine foamPackBin + foamPackThirdPartyBin
- add foamPackThirdPartyBinAll (like foamPackBinAll)

- relocate service scripts into bin/tools
- use more standard 'tgz' instead of 'gtgz'
2011-01-02 21:39:41 +01:00
Mark Olesen
6091cdb0a5 BUG: incorrect log-check in runParallel (RunFunctions)
STYLE: minor rewording, drop grep/sed in favour of sed only
2011-01-02 18:42:26 +01:00
Mark Olesen
185d417530 STYLE: zero padding directly in cleanTimeDirectories 2011-01-02 18:22:37 +01:00
Mark Olesen
18dbe9996a ENH: reorganize settings to avoid inheriting bad values
- avoid non-standard 'tempfile' in bin/tools/foamConfigurePaths
2010-12-23 07:37:32 +01:00
Mark Olesen
312d15c701 STYLE: use 'foamCompiler' instead of 'compilerInstall'
- more obvious in its meaning
2010-12-23 06:28:49 +01:00
Mark Olesen
d8fb38fbc1 BUG: single instead of double quotes in git hooks message 2010-12-14 17:52:27 +01:00
mattijs
ecf998193f ENH: redistributeMeshPar : allow generic 2010-12-03 14:27:30 +00:00
andy
892e638724 ENH: check for existence of polyMesh before changing into it 2010-11-24 10:56:42 +00:00
Mark Olesen
f4c1042f80 BUG: had double quotes instead of single quotes in git hooks 2010-11-17 17:07:59 +01:00
Mark Olesen
a5a62467b5 ENH: skip tab-checking in git hooks for potential wmake/ makefiles 2010-11-17 11:39:37 +01:00
Mark Olesen
b06c778193 ENH: add bin/tools/pre-receive-hook
- allows us to follow the changes
2010-11-10 16:25:40 +01:00
Mark Olesen
ba19b63907 STYLE: generalize functions in pre-commit-hook
- improves code re-usage for pre-receive hook
2010-11-10 11:50:00 +01:00
mattijs
a45f394c37 BUG: foamConfigurePaths : incorrect logic 2010-11-04 12:50:09 +00:00
mattijs
281f06df04 ENH: CleanFunctions : clear out sets/ postprocessing directory 2010-10-26 18:42:30 +01:00
mattijs
497daa3061 STYLE: foamConfigurePaths : expanded tab 2010-10-19 17:47:33 +01:00
mattijs
0d470d124e ENH: foamConfigurePaths : check that sed has done something 2010-10-19 17:46:21 +01:00
mattijs
60c81effb7 BUG: CleanFunctions using bash functionality 2010-10-15 16:24:39 +01:00
Henry
d3f0b7a06b Documentation: Added skeleton ReleaseNotes-dev 2010-10-06 12:05:25 +01:00
Mark Olesen
514661e990 Merge remote branch 'OpenCFD/master' into olesenm 2010-09-15 15:42:24 +02:00
mattijs
f7b96e2766 COMP: scanpackages : new utility to make Packages.gz 2010-08-25 15:31:27 +01:00
Mark Olesen
0f57f4ec8a STYLE: move bin/doxyFilt -> bin/tools/doxyFilter
- normally only for doxygen generation, not needed in the path
2010-08-11 11:03:43 +02:00
Mark Olesen
420ac3b5d0 ENH: skip checks in pre-commit hook when no files have changed
- this usage can correspond to a 'git commit --amend'
2010-08-10 08:39:13 +02:00
Mark Olesen
1866a2b0fd ENH: improve speed/flexibility of pre-commit-hook
- only search indexed files (BUGFIX)
- search for long-lines is faster when regex is anchored
- use git grep logic instead of sed logic where possible

- add support for running the hook manually as well.
  For example,
      bin/tools/pre-commit-hook  applications/test src/OpenFOAM/db

- add some feedback to pre-commit hook:
  The hook can be really slow, at least let people know that something
  is happening
2010-08-05 10:30:32 +02:00
Mark Olesen
f2793ffd51 ENH: allow #directive lines to exceed the 80-col line length limit 2010-07-27 17:01:41 +02:00
andy
7c1ca51598 Revert "ENH: Added DOS-style line ending check to git hook"
This reverts commit 102f797016.
2010-07-23 12:06:51 +01:00
andy
102f797016 ENH: Added DOS-style line ending check to git hook 2010-07-23 10:08:47 +01:00
Mark Olesen
e099012556 STYLE: use regex to avoid extra loop in pre-commit-hook 2010-07-23 09:31:18 +02:00
Mark Olesen
2a1ccb730e ENH: drop special treatment for C++ comments line length in pre-commit-hook
ENH: report line number for illegal words and for copyrights
2010-07-22 10:29:27 +02:00
Mark Olesen
3b7afb3ffb STYLE: add some comments to pre-commit-hook, unclutter some syntax 2010-07-21 13:50:20 +02:00
Mark Olesen
a76dd34d47 Adjust bin/tools/pre-commit-hook to avoid triggering pre-receive hook 2010-07-21 13:34:46 +02:00
Mark Olesen
b2d6ae091b ENH: made Andy's pre-receive hook into a pre-commit hook
- allows fixes before trying to push
2010-07-21 12:58:43 +02:00
Mark Olesen
266c4c61da STYLE: remove tabs and trailing space from new scripts 2010-07-02 09:14:10 +02:00
mattijs
ed650a1643 ENH: debian/ pack files initial versions 2010-06-30 13:45:14 +01:00
Mark Olesen
824df2c378 ENH: add org-pdflatex to create pdf files 2010-06-01 10:14:56 +02:00
Mark Olesen
5087125424 STYLE: remove erroneous section-label on doxygen @endcond 2010-05-07 15:30:27 +02:00
Mark Olesen
3dd66066a7 STYLE: remove ToDo paragraph from doxygen processing
- avoids them showing on related pages
2010-05-07 15:15:43 +02: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
f1d03a3802 ENH: cleanup shell scripts, BUG: unclosed 'if' in inlineReplace 2010-03-23 14:05:51 +01:00
Mark Olesen
6b6dd51a27 STYLE: more consistent shell style in tutorial run/clean scripts 2010-03-10 10:55:42 +01:00
Mark Olesen
2073dcf9d7 STYLE: move source templates from bin/templates/ to etc/codeTemplates/ 2010-03-03 09:19:23 +01:00
Mark Olesen
07283ff315 ENH: add -builtin option to paraFoam (VTK builtin OpenFOAM reader)
- Also adjusted formatting of usage to match what argList generates
2010-02-05 08:36:44 +01:00
Mark Olesen
975d56086c promote org-mode conversion utilities from bin/tools -> bin/ 2009-12-04 10:49:04 +01:00
Mark Olesen
2bfd449cf3 added bin/tools/org-{batch,html,latex}
- make it easier for non-emacs users to generate some of the
  documentation
2009-11-30 13:33:06 +01:00
Mark Olesen
1c6dd6de70 removed Paraview2 support from paraFoam
- mention PV3blockMeshReader in the README as well
2009-11-25 12:33:00 +01:00
mattijs
3355c8d9eb initial streamlines functionobject 2009-08-25 12:35:48 +01:00
andy
676c842a63 Revert "drop support for paraview 2.x reader"
- this was not agreed.

This reverts commit 41b196ffeb.
2009-08-03 16:30:48 +01:00
Mark Olesen
b5616b4ea4 consistency fix for scripts: foamCheckJobs, foamPrintJobs, foamLog
- drop reference to license directory
- check -help before checking directories

- search for foamLog.db is more consistent with foamEtcFile
    $HOME/.OpenFOAM/$WM_PROJECT_VERSION
    $HOME/.OpenFOAM
    $WM_PROJECT_INST_DIR/site/$WM_PROJECT_VERSION
    $WM_PROJECT_INST_DIR/site
    $WM_PROJECT_DIR/etc
    $PROGDIR/tools
2009-08-02 11:08:33 +02:00
Mark Olesen
41b196ffeb drop support for paraview 2.x reader 2009-08-02 10:04:17 +02:00
Mark Olesen
91157af10c All ThirdParty build-related stuff moved there. 2009-07-24 23:10:15 +02:00
Mark Olesen
b1a3bcc9a9 take control of Allwmake scripts for third-party sources
- this improves the chances of having a current version
2009-07-24 11:01:29 +02:00
Mark Olesen
b095d78496 drop bin/tools/foamThirdParty (unused) in favour of straight text form
- doc/THIRD_PARTY lists where various third party sources can be found
2009-07-24 08:46:32 +02:00
henry
589a342e89 Added -qmake option to specify the location of qmake which defaults to the system one.
The Qt version is now checked for >= 4.3.
2009-07-16 12:30:54 +01:00
henry
90298600e0 Corrected buoyancy BCs for p. 2009-07-10 12:59:51 +01:00
henry
e461ef53e9 Removed support for LAM. 2009-07-10 12:04:42 +01:00
henry
5f246c45e6 Improved the basic tutorial clean functions. 2009-07-10 11:55:50 +01:00
henry
9f46545159 Get the application from the controlDict where necessary. 2009-07-09 17:44:50 +01:00
andy
9e54053f2e merge with master + fix conflicts in tuts/mesh 2009-07-08 12:15:44 +01:00
andy
d535ebc906 adding Mark's change to the build PV options 2009-07-08 11:20:46 +01:00
henry
07793793ae Remove .gz and files with other extensions. 2009-07-01 22:27:02 +01:00
mattijs
dcbb8c94b2 remove sets and snappyHexMesh *Level files 2009-07-01 11:20:57 +01:00
henry
a562395687 Allow the setting of the Qt version via the path to the appropriate qmake. 2009-05-21 17:45:56 +01:00
Mark Olesen
2aec8f2820 renamed buildParaView3.5-cvs -> buildParaView and reworked
- get version from $ParaView_VERSION or from -version option
- added QT gui support (useful when compiling enGrid)
- update files for finding cmake-2.6.4 as well
- added bin/engridFoam for calling a version of enGrid that uses the
  paraview libraries compiled with/for OpenFOAM
- added foam3rdParty change directory alias
2009-05-13 11:31:44 +02:00
henry
35eac2b9a3 Better tagging support. 2009-03-01 20:31:47 +00:00
mattijs
76dd475a67 sun porting 2009-02-13 13:03:10 +00:00
andy
ee416e8105 promoting MESA paths to top level 2009-01-14 11:57:05 +00:00
Mark Olesen
cdd2266467 Merge commit 'OpenCFD/master' into olesenm
Conflicts:

	src/OpenFOAM/db/IOstreams/Pstreams/IPstream.C
	src/OpenFOAM/db/IOstreams/Pstreams/OPstream.C
2009-01-07 09:39:17 +01:00
henry
d793344af2 Corrected mhdFoam tutorial scripts. 2009-01-05 22:18:19 +00:00
Mark Olesen
28b200bcd9 update copyrights for 2009 2008-12-31 19:01:56 +01:00
Mark Olesen
ae9057c9fe build paraview with experimental PARAVIEW_INSTALL_DEVELOPMENT 2008-12-18 19:52:37 +01:00
Mark Olesen
6151df3ef1 paraview build - reworking build/install directories 2008-12-16 13:20:53 +01:00
Mark Olesen
7072a998e8 paraview build - add -abspath/-envpath options 2008-12-16 11:45:12 +01:00
Mark Olesen
49bbb29ac8 update build scripts and etc/apps/paraview3 settings for paraview-3.5 (cvs)
- The new cmake seems to be even smarter. If we try to use env variables in
  the .cmake files (eg, with And's sed fixup), they are rewritten in a
  subsequent re-make and take much longer).  Adjusting the compiler values
  themselves causes a full remake. On the positive side, disabling the rpath
  seems to mean we may not need any of this.

  In summary - yuck!
2008-12-15 22:06:54 +01:00
Mark Olesen
aa522c93f1 buildParaView changes
- set CMAKE_INSTALL_PREFIX:PATH now
- allow separation between -config/-make/-install stages
- update for cmake 2.6
2008-12-13 17:55:07 +01:00
Mark Olesen
b94c3fb8a1 paraFoam - check for region-specific fvSchemes, fvSolution 2008-12-10 09:47:24 +01:00
Mark Olesen
679fd493ca CleanFunction: removed *.foam files instead of *.OpenFOAM files 2008-08-09 18:46:26 +02:00
Mark Olesen
851abe7661 adjusted and improved buildParaView script
- usage, explicit -fast option for rebuilding new -mpi, -python, -mesa
    options for specifying alternative modules to include without editing
    the file
  - the build options can also be grabbed from the script name itself.
    eg, the soft-link buildParaView3.3-cvs-python specifies that the python
    module should be included
  - misc. cleanup in tools/buildParaViewFunctions: give the user some
    feedback about the python version, set all variables at the bottom
    of the file rather between initialise and build.
  - be more careful when changing the hard-links to avoid the find
    '-execdir' option (fails when the user has '.' in the path), and
    do separate find/loop/grep/sed on the files to avoid touching too many
    files and ruining a later rebuild stage.

Notes:
  - the cmake uses -DCMAKE_INSTALL_PREFIX=$PARAVIEW_APP_DIR, but this
    variable isn't defined anywhere.
2008-08-08 17:55:28 +02:00
mattijs
a972933b85 rpath was set 2008-07-25 13:34:53 +01:00
henry
b48f6ac2d3 Moved buildParaView3.3-cvs to be on the PATH and added more path corrections 2008-07-10 18:44:31 +01:00
andy
076be91979 adding speedy option :-) 2008-06-27 16:53:33 +01:00
Mark Olesen
02cabc3cf2 updated Copyright (C) \d+-2008 OpenCFD Ltd. 2008-06-25 15:01:46 +02:00
Mark Olesen
0067393011 bin/tools/*Functions are not executable - use editor hint instead of #!/bin/sh 2008-06-16 17:10:19 +02:00
Mark Olesen
5ff23aecc3 Merge commit 'origin/master' into olesenm 2008-06-16 17:03:54 +02:00
henry
8ddee4ccdc New tutorial run and clean scripts. 2008-06-16 12:51:20 +01:00
Mark Olesen
3ad61835f6 build paraview without requiring Tk 2008-06-15 17:56:54 +02:00
henry
2e57a728da Merge branch 'master' of ssh://noisy/home/noisy2/OpenFOAM/OpenFOAM-dev 2008-06-13 20:13:34 +01:00
andy
9bd3861cd2 applying Mark's patch to update sed statements 2008-06-13 16:27:15 +01:00
Mark Olesen
5c31d90826 paraview build: use $WM_THIRD_PARTY_DIR 2008-06-13 16:44:00 +02:00
Mark Olesen
b92e037e52 Doxygen filter changes * allow doxygen to process applications/**.H * use @cond/@endcond to suppress documenting classes/variables in applications/
- allows some access from applications to libraries
 - connection between application and local includes is still a bit weak,
   but is possible via the dirs.html navigation.
2008-06-13 13:16:02 +02:00
Mark Olesen
64d00dc22b Doxygen filter changes
* allow doxygen to process applications/**.H
 * use @cond/@endcond to suppress documenting classes/variables in applications/

 - allows some access from applications to libraries
 - connection between application and local includes is still a bit weak,
   but is possible via the dirs.html navigation.
2008-06-13 13:16:02 +02:00
henry
232e3db40a Removed 'x' from mode. 2008-06-08 17:06:58 +01:00
henry
5ba71dd9fc Simplified the download and building of libccmio-2.6.1.
Corrected the building of ccm26ToFoam.
Tested on dm from download to run -- all fine.
Needed to use --no-check-certificate option for wget.
2008-06-08 17:04:35 +01:00