Commit Graph

352 Commits

Author SHA1 Message Date
kmo
6af84a8eb4 Some XML parsing corrections, among other things graded grid refinements
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1459 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:20 +02:00
rho
65ffe837e3 Small bugfix for fieldnames
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1458 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:19 +02:00
rho
1eab860d79 Added support for element-by-element preconditioner using option pc = mat
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1457 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:19 +02:00
kjetijo
cf3443a3c6 Fixed local line enumeration in 2D surface models
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1450 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:19 +02:00
kmo
35306f9123 Added .gitignore + some doxygen issues
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1449 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:19 +02:00
kmo
4871e1ea22 Updated nonliniear regression tests to avoid failures due to small numeric discrepancies when running on different platforms
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1448 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:19 +02:00
akva
219f6d14c1 fixed: respect the binary/ascii vtf format switch in the HDF5 converter
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1447 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:19 +02:00
akva
6d49692360 added: strip along the optimal direction + spread remainder over several threads when possible
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1445 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:19 +02:00
akva
7789611606 fixed: PETSc may depend on -ldl under certain circumstances
since there is no common place to read this from for petsc 3.1/3.2,
we simply always add it. won't hurt on unices

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1444 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:19 +02:00
akva
2b56663581 added: full sparsity pattern allocation with serial PETSc to facilitate multi-threaded assembly
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1443 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:18 +02:00
akva
4c6431bc1f fixed: don't complain about too many threads when we compile without openmp
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1442 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:18 +02:00
kmo
17605ec54b Added inclusion of cstddef in Integrand.h - required by gcc 4.6. Added install of NonLinEl app
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1441 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:18 +02:00
kmo
964f361028 Cosmetics...
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1440 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:18 +02:00
kmo
ac9aaa977e fixed: SAM::getDofCouplings should now also work when multi-point constrains are present. Removed the nelmdof parameter again. It is not actually needed in the SAM.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1439 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:18 +02:00
kmo
5eaf905618 Moved evalSol methods up from Integrand to IntegrandBase to avoid some icc compiler warnings
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1438 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:18 +02:00
kmo
13bbce57bf Replaced the IndexDouble class by a std::pair<double,int> with similar functionality
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1437 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:18 +02:00
kmo
f49ce1d00d Some doxygen issues
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1436 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:18 +02:00
kmo
60c80d9021 Avoided some compiler warnings due to potentially unused variables/methods
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1435 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:18 +02:00
kmo
7e095e6035 Added utl::getAttribute methods
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1434 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:18 +02:00
kmo
5ccbf21e75 Fixed: SparseMatrix::add must also work for non-editable matrices due to the pre-assembly when multi-treading is activated
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1433 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:18 +02:00
kmo
a4d4c20bfd Fixed: Preallocation of traction vector buffer to support multi-threading
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1432 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:18 +02:00
kmo
8a33cad300 Changed: Moved generation of thread groups to SIMbase::preprocess. For volume faces, only generate thread groups for those subjected to boundary integrals (i.e., the Neumann boundaries).
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1431 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:17 +02:00
kmo
3b65885640 Added a regression test for axisymmetric finite deformation analysis
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1430 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:17 +02:00
kmo
aab8f1c4cd Multithreading update for finite deformation applications: The global integration poitn counter is provided as argument to the material routines such that the internal buffer of the plasticity model can be pre-allocated.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1429 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:17 +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
kmo
3a7e2cf2d8 Added more global integration point counter calculations. Think it is correct now... It is also included in the finalizeElement calls
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1427 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:17 +02:00
kmo
25de55cc65 Changed: Move the calculation of the total number of integration points and the associated buffer allocation until after the quadrature rule has been defined
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1426 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:17 +02:00
kmo
e5b51b0b26 Added getGmat in CoordinateMapping.[Ch]
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1425 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:17 +02:00
kmo
01f4bc5fb3 Added a global integration point counter needed by some integrands. It needs to be set up outside the integrands when multi-threading.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1423 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:17 +02:00
akva
5ad7f3afda fixed: have to use omp_get_wtime() to get a correct wall clock
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1422 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:17 +02:00
akva
adc65bc8ee Regression test updates such that they now pass also when running multithreading
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1421 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:17 +02:00
akva
c87edde091 added: multi-threaded support for finite deformation applications
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1420 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:17 +02:00
akva
ce4c8c3398 Removed non-working, depreciated class
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1419 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:17 +02:00
akva
55f550b648 added: multi-threaded support in linear elasticity applications
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1418 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:17 +02:00
akva
35564f1ec9 Added: Multi-threaded assembly
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1406 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:16 +02:00
akva
f8e50c2d6e changed: reorder operations in GlbNorm to make them work with multithreaded assembly
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1405 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:16 +02:00
akva
f70fc31825 fixed: expreval is not reentrant
thus we have to use a lock when running with multithreading

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1404 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:16 +02:00
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