Commit Graph

400 Commits

Author SHA1 Message Date
kmo
595f1456b3 Removed an elegant array initialization in SIMoptions constructor which appeared to be non-standard (kongull didn't like it...)
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1531 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:24 +02:00
kmo
435c515af9 Changed: Moved ASMs3D::globalL2projection to file ASMs3Drecovery.C
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1530 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:24 +02:00
akva
aa738cedf3 fixed: broken parsing of partioning tags from xinp files
1) encountering a partitioning with a different number of processors is
not an error. we should just silently continue. this allows having
several different partitionings specified in the file

2) a refactoring missed the fact that nGlPatches is read from the
partitioning, thus all nodes have to process all lines, not only its part

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1529 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:24 +02:00
kmo
971ec39ec5 Added: VTF output of projected fields and associated norms in Adaptive simulation. Print of exact errors and effectivity index in Adaptive simulation
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1528 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:24 +02:00
kmo
9d56133989 Changed: Modified SIMbase:writeGlvS such that it also can be used by the Chorin substep solvers
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1523 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:24 +02:00
kmo
44a164e1b4 Removed some parameters from the signature of some SIMbase methods since they now may be accessed from the SIMoptions member
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1522 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:24 +02:00
kmo
d71c9c1c50 Moved parsing of expression functions for analytic solutions to two new AnaSol constructors
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1520 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:23 +02:00
kmo
a1d2007ac2 Extended the XML input to also take some options previously available as command-line arguments only
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1519 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:23 +02:00
kmo
c958d74c3e Added: Print of global effectivity index.
Fixed: Index calculation for refinement error and printout of global norms.
This also reverts the previous fix r1517 which I don't think was correct.

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1518 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:23 +02:00
kmo
39e6ac8c63 Added: Calculation of local effectivity indices on error estimates for Elasticity and Poisson
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1516 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:23 +02:00
kmo
1ba789aafb Changed: AdaptiveSIM is now able to do the mesh adaption based on error estimates from a user-selected recovered solution.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1515 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:23 +02:00
kmo
2ed1238893 HDF5Writer fixed, part II: The r1505 fix was not complete, because the getNorm method now may update its first argument (in case of no analytical solution). Therefore we need this double loop indices to get it right (same as in XMLWriter).
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1514 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:23 +02:00
akva
d76ff2fe10 fixed: VTFx writer with adaptive/time dependent geometries
the results were always associated with the first set of geometry
blocks

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1513 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:23 +02:00
akva
b9c3434337 fixed: we need access to the linear solution vector in the adaptive SIM
if not, we cannot store element norms in HDF5

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1510 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:23 +02:00
akva
1bdb5787a4 fixed: since we cannot handle multi-patch yet, reset numbering at each ASMu2D instancing
this is not a proper solution, but since we have these evil globals and
no virtual interface in ASMbase, this will have to do for now

this broke adaptive simulations

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1509 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:23 +02:00
kjetijo
2bd4b80c24 Added LR-spline stress recovery techniques (cont L2, discrete L2 working properly)
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1506 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:23 +02:00
kmo
aa5c798988 Fixed: Corrected the norm output to VTF. It has been wrong since r1501.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1505 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:23 +02:00
akva
e4bc621c31 changed: move recovery related functions in ASMs3D into ASMs3Drecovery.C
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1504 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:23 +02:00
akva
47a73b693c added: support new interpolation/projection schemes in linear elasticity application
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1501 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:22 +02:00
akva
06f59dbb8a Added: New spline interpolation/projection schemes. Credit Annette.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1500 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:22 +02:00
akva
5be80d8df6 cosmetics - a char should not be defaulted to false
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1498 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:22 +02:00
akva
dc37691c8a fixed: (trivial) typo in getting started tutorial
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1497 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:22 +02:00
kmo
99d5287a6e Fixed: VTF-output of grid deformation and velocity for FSI-simulations
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1496 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:22 +02:00
kmo
060d8f1c37 Superconvergent recovery update: Increased the order of the polynomial expansion by one. Store the RHS vectors in a Matrix instead of StdVector for convenience.
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1494 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:22 +02:00
kmo
d507a6d099 added: ability to solve dense systems with a matrix rhs
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1493 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:22 +02:00
kmo
fbe0de77c5 FSI update: Some modifications to ensure the mesh mover simulator always gets the same time increment as the CFD simulator
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1491 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:22 +02:00
kmo
df54429f90 added: use cholesky factorization for symmetric dense matrices
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1490 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:22 +02:00
kmo
5f943074cf added: mark local recovery matrix as symmetric
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1489 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:22 +02:00
akva
ba89bb23ee fixed: missed group close
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1488 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:22 +02:00
kjetijo
7648695ac0 Added XML parsing for adaptive simulations using LR B-splines
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1487 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:21 +02:00
kmo
43332649c6 Fixed more user-friendly prefices for the element norm fields on the VTF
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1484 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:21 +02:00
kmo
2db78badba Fixed VTF output of the recovered fields
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1483 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:21 +02:00
kmo
e2521f6b28 Added projection of secondary solutions for the Poisson solver
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1482 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:21 +02:00
kmo
9cf93a27d9 Corrected the dimensioning of NormBase::prjsol
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1481 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:21 +02:00
kmo
0d56669762 Moved computation of RMS,Min,Max and Avg errors into AdaptiveSIM::printNorms
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1480 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:21 +02:00
kmo
0a37c1af99 New projection methods: Continuous global L2 projection and superconvergent recovery
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1479 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:21 +02:00
kmo
9988096725 Implemented globalL2projection in ASMs1D and ASMs3D
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1478 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:21 +02:00
kmo
0c9ca42b73 Added virtual method globalL2projection in ASMbase with implementation in ASMs2D
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1477 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:21 +02:00
kmo
057dd266c2 Added support for multiple right-hand-sides in DenseMatrix::solve
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1476 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:21 +02:00
kmo
5a0550f83f Added support for multiple right-hand-sides in SparseMatrix::solve
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1475 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:20 +02:00
kmo
96b8d0f33e Fixed: Removed the Tensor T as member in class CurvedBeam. It does not work when running multi-threading since it is updated at each point
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1472 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:20 +02:00
kmo
6817bc2ac1 Fixed bug 302: Variables dir and els has to be defined outside the #ifdef USE_OPENMP
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1471 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:20 +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
70ce49b141 fixed: changes needed to compile with petsc 3.2 (with 64bit indices)
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1469 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:20 +02:00
kjetijo
c45ce38e1f Moved gauss integration up in the ASM hierarchy (set gauss points)
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1468 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
rho
67e31ec899 Added possibilty of using LU solver on each subdomain with asm preconditioner using option asmlu
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1461 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:20 +02:00
kmo
90c92317e9 Added use of utl::getAttribute to make the XML parsing more compact and readable
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1460 e10b68d5-8a6e-419e-a041-bce267b0401d
2015-07-10 22:02:20 +02:00
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