Commit Graph

315 Commits

Author SHA1 Message Date
akva
5a19d2187d changed: preinit sparsity pattern if we are running with multiple threads
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1403 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:16 +02:00
akva
5e9a5d88e7 changed: rip ElmMats and finite element vectors out of integrand
this is necessary to allow multi-threaded assembly

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1402 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:16 +02:00
akva
c6a3a640b2 changed: make SetMode in integrandbase store the mode
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1401 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:16 +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
24a74fa039 fixed: don't blindly deref index 2 in gNorm
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1396 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:16 +02:00
akva
8af83cdf5c fixed: don't try to project secondary solution if integrand has none
this will lead to a crash in GoTools

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1395 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:15 +02:00
akva
618e7bc929 fixed: projectSolution for 0 secondary solutions in ASMs3D
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1394 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:15 +02:00
akva
2e2cbee235 added: support varying timesteps in hdf5 writer and converter
we store this on the format
/level/timeinfo/<name of sim>

currently we do not support separate time stepping for different
SIMs so we store with a fixed SIM name of SIMbase-1. at least
we have the option to extend later should we want to.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1393 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:15 +02:00
akva
06f3017b56 fixed: avoid segfaulting if petsc is requested and support is not available
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1392 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:15 +02:00
akva
7b723f518b fixed: typo SELCP -> SLEPC
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1387 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:15 +02:00
akva
6ef147d60c fixed: remove node references in PipeJoint-NURBS regression test (symmetries abound)
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1385 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:15 +02:00
rho
72e633f87e Added parameter nelmdof needed in computation of sparsity pattern for mixed methods in CFD
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1370 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:14 +02:00
rho
a74327d2a9 Added parameter mixedFEM in call to ASM2D::create
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1369 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:14 +02:00
rho
ae1dbe7156 Added possibility to adjust timestep according to a CFL condition
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1368 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:14 +02:00
rho
6c767fb327 Modified setup of equation number to facilitate mixed methods in CFD
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1367 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:14 +02:00
rho
4497c7724b Set parameter nelmdof needed to compute sparsity pattern for some mixed formulations
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1366 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:14 +02:00
rho
72e54cfab8 Added functionality to adjust timestep according to a specified CFL number
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1365 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:14 +02:00
rho
f7118cf374 Added matrix G used for stabilized methods
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1364 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:14 +02:00
rho
58e55f5b88 Made getElementCoordinates and getNodalCoordinates public. Added function getNoElmDOF. Added some functionality for computation of stabilization parameters
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1363 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:14 +02:00
akva
46bab75664 fix branding
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1362 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:13 +02:00
akva
9e419734ea fixed: replace C headers with their C++ equivalents and remove some unnecessary includes
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1361 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:13 +02:00
kmo
053d85d869 Dirichlet boundary conditions in local axes for 2D patches
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1360 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:13 +02:00
kmo
1ac9cd4876 Dirichlet boundary conditions in local axes
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1359 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:13 +02:00
akva
44b2bbd617 added: support parallel petsc 3.2, potentially built with 64bit indices
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1358 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:13 +02:00
akva
d169860cd2 added: support petsc 3.2
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1356 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:13 +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
ad5aee09e6 fixed: quell compiler warning emitted if compiling without petsc
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1352 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
kmo
554594ed2b bugfix for mixed spline fields: ip must be cleared before calling scatterInd for the second basis
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1349 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
kjetijo
4404a5a8b1 Revised adaptive input to cover 3 methods FULLSPAN, MINSPAN and STRUCTURED. Also evaluation of the RMS of exact error as a mesh quality checksrc/SIM/AdaptiveSIM.h
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1345 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:12 +02:00
akva
7d8d317a61 added: support <include> directive in xml input files
this can be used to include another file in an xinp file.
useful if you have several almost-equivalent input files,
for scripting, for splitting different equation settings into
their own files, etc.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1344 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:12 +02:00
akva
eb4f881a61 added: support for XML based input files in the Linear Elasticity applications
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1343 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:12 +02:00
akva
5ea84f25c9 added: support for XML based input files
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1341 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:12 +02:00
akva
25f4b2ecf3 fixed: another gcc 4.6 compilation issue
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1340 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:12 +02:00
kmo
a3e6d367d1 Some expression function modifications
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1339 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:12 +02:00
kmo
70a0808412 added: analytic function evaluation in the linear elasticity app
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1338 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:12 +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
1d3cfbfacf added: expreval third party library
this is a library to perform analytic function evaluation

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1335 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
76f8bfcd16 Some minor refactoring:
Removed the ASM constructors taking filename and -stream as argument.
Instead the read method is invoked after the object is constructed.
Added readPatch[es] and readNodes as virtual methods in SIMbase scope,
enabling the movement of more input processing to SIMbase.
Finally, some evalSolution modifications.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1332 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:11 +02:00
kmo
69217b81d4 Regression test updates
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1331 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:11 +02:00
kmo
c6b642b7f4 Removed doubly defined getSurface and getBasis methods in ASMs2Dmx
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1329 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
7532977a13 Big revision of the spline field classes to avoid dangerous copy-pasting of internal GoTools code. Added a static create method in Field/Fields scope such that the fluid solvers can refer to fields independently of the discretization method.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1327 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:11 +02:00
rho
7d67391641 Added functions getSurface and getBasis
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1325 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:11 +02:00
rho
c5c591c02b Added copy function for SystemVector and more solve functions
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1313 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:10 +02:00
rho
9644f6725c Added parameter mixedFEM to create to have mixed formulation when nf[1] = 0
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1312 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:10 +02:00