Commit Graph

838 Commits

Author SHA1 Message Date
akva
94ff520858 changed: don't build Poisson and LinEl with library
give them full separate buildsystems instead
eases packaging and is more consistent with the other apps

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2381 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:21 +02:00
akva
4df614adb1 changed: move shared scripts to Apps/Common
shared between the build systems.
this (temporarily) disables the 'check-commits' targets.
will be reinstated in the app's buildsystems

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2380 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:21 +02:00
akva
688e8ecbc8 changed: build the App common library as a shared library
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2379 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:21 +02:00
akva
65fe7050a7 changed: move the MultiArch helper rule to Apps/Common
will be used by build systems in Apps/Common

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2378 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:21 +02:00
akva
a68a457414 changed: store the ABI version in a separate variable
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2377 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:21 +02:00
akva
76e54af112 changed: generate doxy in build folder
also adds an option to install the doxy (-DINSTALL_DOXY=1)

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2376 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:21 +02:00
akva
eefb38566e changed: remove some more cpack remnants
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2374 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:21 +02:00
akva
c1b37b2f0d changed: generate IFEM.h in build folder
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2373 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:21 +02:00
akva
6405cb3ffb fixed: parallel petsc issues introduced by FSI changes
- failed to compile due to a PetscVec that should be a PetscIntVec
 - one regression test broken due to missing -rigid
 - one regression test broken due to output format changes (larger cutoff)

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2372 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:21 +02:00
kmo
57f4329df0 Added: Simulation driver for flexible structure in FSI-simulation (forces not coupled yet)
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2369 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:20 +02:00
kmo
5a07d21e08 Fixed: Forgot to initialize IAmConstant (valgrind complains...)
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2368 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:20 +02:00
kmo
f70d4ef4bc Added: getNodeCoord and getBoundaryNodes
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2367 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:20 +02:00
kmo
32ef9a51f2 Added: Node index in the Vec4 class. This is used when the input coordinates
are on a deformed grid such that they change from one increment to the other.
Also added and optional node map in NodeVecFunc in case the nodal values are
associated with another grid than the input points.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2366 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:20 +02:00
kmo
9356965586 Added: VecFunc wrapper for nodal field
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2365 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:20 +02:00
kmo
f4846d509e Changed: Moved nSol argument from NonLinSIM constructor to init method
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2364 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:20 +02:00
kmo
36e617252b Various FSI updates:
Added SIMFSI::preprocess invoking the simular methods of the substep solvers.
Merged the three methods returning the solid forcing-function into one.
Added convenience methods SIMGridMover::[sg]etBDForder.
Allow the BDF object to have order=0 (meaning don't use BDF).

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2363 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:20 +02:00
kmo
ca837f32e5 Solver template updates
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2362 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:20 +02:00
kmo
f4775c9cbf Refactored the SIMbase::preprocess method. It is now not virtual.
Instead, it invokes two virtual methods, preprocessA and preprocessB,
in the beginning and towards the end, that may be reimplemented for
problem-specific preprocessing. This is to avoid the need for the
dummy vector and bool arguments in the reimplemented preprocess method.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2361 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:20 +02:00
kmo
3d15e0bebb Added: Heading to be written before parsing input file
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2360 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:20 +02:00
kmo
f51db0a2ac Added: Driver for integration of global nodal forces on boundaries
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2359 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:20 +02:00
kmo
58bf05a58b Added: New GlobalIntegral sub-class for integration of nodal forces
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2358 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:19 +02:00
kmo
1771e3f7cd Added: Integrand for calculation of global nodal forces on boundaries
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2357 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:19 +02:00
kmo
545f0d587d Commented out a static assemPETSc method that is never compiled.
Changed some pass-by-value arguments into const references to avoid overhead.
Added some new typedefs for readability.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2356 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:19 +02:00
kmo
8c0f8fbe6f Changed: Reimplemented SAMpatchPara::initConstraintEqs (which I suspect did
not work anyway, not tested on examples with multi-point constraints) using
the parent class method and then expanding the mpmceq array to dof-size.

Added: virtual method ASMstruct::getSize(int&,int&,int&,int) and using that
in all the getSubdomains methods in SAMpatchPara (further casting not needed).

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2355 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:19 +02:00
kmo
8c0579dcdc Fixed: Handling of chained multi-point constraints.
For problems with time-varying dirichlet conditions,
the constraint equations were not properly updated
between the increments. This was due to the resolving
where we lost the connection between the actual master dof
beeing updated, and the slave in the other end of the chain.

The update is now done in a recursive manner instead, using
a pointer to the next MPC in the chain stored on the DOF level.

Notice that this fix also affected the FSI-slip regression test.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2354 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:19 +02:00
kmo
b6b1877358 Fixed: Account for multiple neighboring patches when collapsing nodes at patch interfaces
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2353 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:19 +02:00
kmo
9126d63b56 Fixed: Avoid failure when ignoring patches
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2352 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:19 +02:00
akva
59d8dcf4eb fixed: don't override flags, append
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2351 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:19 +02:00
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
rho
9003b327bf Only user defined subdomains on finest level with ML
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2345 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:18 +02:00
rho
509c9c8e89 Bug fix for ASM with ILU
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2343 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:18 +02:00
rho
94e8fa678f Modifications for several subdomains on a process
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2341 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:18 +02:00
akva
e4605fe07c changed: don't find system MPI
it is set up for us by petsc and this hinders the use of
a petsc with bundled mpi

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2340 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:18 +02:00
akva
6e8b84929c fixed: add missing include
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2339 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:18 +02:00
rho
400510d68b No parallel communicator to index sets for subdomains
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2338 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:18 +02:00
rho
f2b8045bcb Fixed setup for multiple subdomains on each process
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2337 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:18 +02:00
akva
33359bd51f fixed: detect ICC through the vendor flag rather the the compiler name
works better with mpi compiler wrappers

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2335 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:18 +02:00
akva
df3031b23c added: hack for ICC 13.0.1
it does not completely implement C++11 - in particular we are missing
std::unique_ptr. use the deprecated std::auto_ptr for now

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2334 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:18 +02:00
rho
0dbe3b2262 Modifications to use ASM as smoother for ML. Can defined two level Schwarz with algebraic coarse grid defined by ML
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2333 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:17 +02:00
rho
e42be8ce51 Added diagonal scaling
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2332 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:17 +02:00
rho
adc9dff475 Preconditioner for diagonal scaling of matrix by a vector
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2331 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:17 +02:00
akva
a4ce1e7fb6 added: ability to set order of BDF helper class after initialization
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2327 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:17 +02:00
rho
cd6daf0ae8 Modifications for variable timestep in BDF2
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2324 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:17 +02:00
akva
772dbd13c9 changed: move spalding to Apps/Common for now
it is used in several apps (VMS, RANS applications). problem is there
is no common library other than this that is included in all these
applications

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2303 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:15 +02:00
akva
392d832685 fixed: load dependent fields in the HDF5 output routine
may be needed for derived quantites (secondary solutions).

note that this is order sensitive, in particular we want to do the
call that loads only the solution vector last. this is needed as
certain SIMs (such as K-Epsilon) has a dependency to themself to be able
to handle the complex boundary conditions. due to this, if we call the
dependency loading function last, we end up with the wrong vector loaded.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2302 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:15 +02:00
akva
9ba984e5ff fixed: cannot use profiling functions inside threaded sections
there is no protection for the vector of active profilers

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2301 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:15 +02:00
akva
4c3ab64cae fixed: neumann boundary condition without a specified value
now default to 0.0

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2300 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:03:15 +02:00