Commit Graph

105 Commits

Author SHA1 Message Date
akva
1a43c23d09 changed: allow to override the documentation install path
differs on redhat(-derivates) / debian(-derivates)

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2350 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:19 +02:00
akva
9f83258a88 changed: only install our own Find rule, and install it in config mode
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2349 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:19 +02:00
akva
c827494268 added: multiarch support
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2347 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:19 +02:00
akva
52a43a5ec3 changed: remove CPack based packaging
cpack is too limited and have too many issue that need to be worked
around. native packaging for redhat and debian will follow

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2346 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:18 +02:00
akva
753d898e71 added: Advection-Diffusion application
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2056 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:59 +02:00
akva
ea10e44c5b added: make target to run regression tests on commits on top of trunk
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1971 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:53 +02:00
akva
6f812ff13b added: MPI regression tests
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1964 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:53 +02:00
akva
8d6d5c501b changed: disable LR regression tests for now
they are useless since they always fail..

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1959 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:52 +02:00
akva
9fe306dc84 fixed: replace the 'real' define with 'Real'
'real' is a dangerous symbol to reserve in the global namespace,
and this has been a ticking bomb all the time. it finally blew,
if gotools is compiled against boost, it will pull the <complex>
header and the define clashes with the real() member.

while still a define in the global namespace, Real should be less
class prone

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1947 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:52 +02:00
akva
497b30e885 added: generate a build dependency meta package for libifem
anyone who wants to build ifem can now add our apt, and do
apt-get install libifem-builddeps to get all build dependencies

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1892 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:48 +02:00
kmo
1b929df192 Regression test updates for FiniteDeformation
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1880 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:47 +02:00
akva
a248f5146a added: cpack for system package building
currently supports debian/ubuntu and enterprise linux 6 derivates
such as Scientific Linux 6

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1876 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:47 +02:00
akva
1409a782ec changed: restructure the elasticity apps
shared files are now in Apps/Elasticity, those only relating to the
linear elasticity app in Apps/Elasticity/Linear and the Finite
Deformation code sits in Apps/Elasticity/FiniteDeformation

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1874 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:47 +02:00
akva
7863e56c09 changed: move the poisson application to a cmake submodule
this makes it possible to build it standalone. will be shipped as an
example in source form

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1873 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:47 +02:00
akva
916a226420 changed: get rid of IFEM_INSTALL_PREFIX
use the standard variable CMAKE_INSTALL_PREFIX instead

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1870 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:46 +02:00
akva
2cc296f987 Added: Install documentation and license, including the new COPYING file
holding the license of IFEM (GPL v3)

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1868 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:46 +02:00
akva
053ac8518f added: give IFEM a version
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1866 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:46 +02:00
akva
e29fb1b13f changed: some refactoring of the buildsystem
the flags are available as

IFEM_BUILD_CXX_FLAGS (for building the library)
IFEM_CXX_FLAGS for applications (only hold those used in IFEM headers)

this means that applications can only do FIND_PACKAGE(IFEM REQUIRED)
and everything will be available, no mocking around with dependency
libraries required

!NOTE! this changes the names of some of the cmake options !NOTE!
see cmake/Modules/IFEMOptions.cmake for the new names and default values

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1701 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:35 +02:00
akva
8cbc65a416 changed: use system TinyXML when available
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1700 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:35 +02:00
akva
bfa1b1c570 fixed: move LR regression tests to a separate directory
we need to disable these tests if we are compiled with LR spline support

fixes issue #346

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1688 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:34 +02:00
akva
98c19574fb changed: generate a regtest.sh with the proper top dir instead of using eclipses
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1687 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:34 +02:00
akva
e4ac10a772 changed: move helper scripts to a scripts folder in root
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1564 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:26 +02:00
akva
28025a90c4 changed: simplify PETSc cmake rules
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1546 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:25 +02:00
akva
c5a7e228ec changed: disable SLEPc by default
code is hardly used and causes errors if IFEM is compiled with a
ubuntu-provided SLEPc. this should be revisited when/if this code is
resurrected

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1470 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:20 +02:00
akva
7a85bc64e9 added: 'make doc' target
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1466 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:20 +02:00
kmo
430aa07d0c Removed the second inclusion of the GoTools flags
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1428 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:17 +02:00
akva
bffbebec42 added: OpenMP support to build system
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1400 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:16 +02:00
akva
f970f92881 fixed: compile with MKL
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1398 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:16 +02:00
akva
b2ea71a0dc added: handle a GoTools built against Boost in our build system
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1353 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:13 +02:00
akva
6206f0cea6 changed: find MKL in a better, portable way
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1351 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:13 +02:00
akva
d5036ab66d changed: check GoTools version and bail if < 3.0.0
also moves c++0x check into FindGoTools where it belongs (it's GoTools
requiring it, not us)

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1348 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:13 +02:00
akva
f397249579 fixed: don't try to install a nonexistent target
if vtf/hdf5 support is not available, the converter application is not
built

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1346 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:13 +02:00
kmo
0351e2e956 added: support analytic function definitions in input files through expreval
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1336 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:12 +02:00
kmo
9ddf27e7ff Removal of obsolete out-commented code in SplineField[s] classes.
Using some newly added GoTools methods.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1333 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:11 +02:00
kmo
3e7601970b Added -std=gnu++0x
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1328 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:11 +02:00
kmo
f3a5796a70 Install executables and only a subset of the ASM-headers
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1293 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:01:54 +02:00
akva
d012932376 fixed: compile with MKL failed due to a deplibs -> depslibs typo
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1238 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:01:50 +02:00
kjetijo
85aaeb74eb added: LR splines
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1149 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:01:44 +02:00
kmo
caeee4aadc Added optional enabling of the SPR direct solver
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1148 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:01:43 +02:00
akva
8216f43a74 added: changes needed to compile on an intel-based (MKL) system
needed for kongull

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1081 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:00:33 +02:00
akva
92ac07a386 added: VTU output
renamed HDF5toVTF to reflect that it can now output vtu files as well

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1061 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:55 +02:00
akva
2542d495dc added: support VTFx aka VTF API v2
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1035 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:43:32 +02:00
kmo
dcd55dc7de Added HDF5 to VTF conversion utility + assosiacted fixes in HDF5 output. This now works for linear/stationary problems and nonlinear/time-dependent problems. But not yet for fully-coupled mixed methods.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1007 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:53 +02:00
akva
7d0717bb1e added: option to disable HDF5 support
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@940 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:49 +02:00
akva
181a29ae85 added: regression tests using CTest
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@934 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:49 +02:00
kmo
ba4429b1d4 Adding HDF5 support (credit Arne Morten) + some modifications related to VTF output
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@932 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 09:42:49 +02:00
akva
768d108dc0 changed: introduce a VERBOSE_DEBUG integer cmake parameter to set the SP_DEBUG flag value
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@873 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:58 +02:00
kmo
f6dde60cb9 Various fixes related to the finite deformation plasticity solver. It now works for a single element, at least.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@870 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:57 +02:00
kmo
3a4e4215e8 Minor changes in cmake files
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@860 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:57 +02:00
akva
019f022c3c fixed: support non-mpi enabled petsc
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@853 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:56 +02:00
kmo
cf0c64a1c1 Moved linear elasticity simulator to Apps/LinearElasticity. Moved Doxyfile up from src-folder and renamed SplinedFEM.dox to IFEM.dox. Fixed some doxygen warnings from Utility and LinAlg.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@850 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:56 +02:00
akva
309002ea15 fixed: set full include path for PETSc
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@842 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:51:55 +02:00
kmo
5579c2571f Various cmake changes: SuperLU is not enabled by default and VTF-writer is always used, if present. Added option to enable SuperLU_MT instad of SuperLU, when both are present. Added target for linear elasticity App.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@816 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:50:43 +02:00
akva
a91f3b90c1 fixed: compile on afem
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@814 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:50:43 +02:00
akva
189a1e34df changed: use a cmake based build system
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@804 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-09 08:50:43 +02:00