Commit Graph

1963 Commits

Author SHA1 Message Date
Arne Morten Kvarving
982eb0ce3e changed: virtualize transferGaussPtVars / transferCtrlPtVars and implement for 3D 2017-12-14 12:48:36 +01:00
Arne Morten Kvarving
c23ba91585 fixed: update minimum distance in nearest neighbor transfer
fixed: reversed indices in lagrange interpolator
add tests for 2D LR gauss point transfer functions
2017-12-14 12:48:36 +01:00
Arne Morten Kvarving
bb60197ece changed: optimize assembleL2Matrices
- assemble to a dense element matrix
- use outer_product for mass matrix calculation
- use an array of element rhs vectors to allow use of Vector::add
2017-12-13 10:15:30 +01:00
Arne Morten Kvarving
e07697c317 changed: simplify ASMu2Dmx::assembleL2Matrices
only evaluate required bases
2017-12-13 10:15:30 +01:00
Arne Morten Kvarving
68ca06a8c9 fixed: allow any number of components in 2D LR fields 2017-12-12 18:35:36 +01:00
Arne Morten Kvarving
642f0d19c8 added: constructor for LRSplineFieldsxD directly from LR object 2017-12-12 18:35:36 +01:00
Arne Morten Kvarving
3c5836820f fixed: write all scalar anasols to VTF 2017-12-11 13:25:34 +01:00
Arne Morten Kvarving
e542683bf5 changed: get rid of the hardcoded maximum number of norms 2017-12-11 11:44:28 +01:00
Arne Morten Kvarving
6cd7a1a12e added: support 3D LR in HDF5toVTx 2017-12-11 11:00:34 +01:00
Arne Morten Kvarving
ed79330c37 added: G_MATRIX support to ASMu2D(mx) 2017-12-11 10:53:23 +01:00
Knut Morten Okstad
c431bdfb49 Fixed: Copy-paste error for X.w, affects 3D FieldFunction evaluation only
Changed: Inlined the GlbNorm constructor + a spell error in the doxy.
2017-12-10 08:22:05 +01:00
Arne Morten Kvarving
86a668b0e0 remove unused LR multipatch code 2017-12-08 15:32:49 +01:00
Arne Morten Kvarving
036411e02f changed: introduce a SIMoutput::getEffectivityIndex
returns the global effectivity index for terminal output usage
2017-12-08 14:50:41 +01:00
Arne Morten Kvarving
ee835eb75b added: 2D LR interface checker and jump term integrator for 2D mixed LR 2017-12-08 14:50:41 +01:00
Arne Morten Kvarving
cd541f0a47 added: allow jump terms in norm integrands 2017-12-08 14:50:41 +01:00
Arne Morten Kvarving
2419592450 add the jump integrand evalIntMx to mixed hierarchy 2017-12-08 14:50:41 +01:00
Arne Morten Kvarving
c54bb03031 changed: make the integrate(J) method virtual in ASMbase and implement for ASMsxDmx 2017-12-08 14:50:41 +01:00
Arne Morten Kvarving
168edde4a8 changed: introduce a base class InterfaceChecker
this is used to mark internal element boundaries for integration.
currently only used in immersed boundaries but will be re-used for
jump integrals
2017-12-08 14:50:41 +01:00
Arne Morten Kvarving
fe78f19bad added: query number of bases in FiniteElement 2017-12-08 14:50:41 +01:00
Arne Morten Kvarving
4f9af6cc4a fixed: truebeta refinement was broken
need to remap to elements, not basis functions
2017-12-08 12:43:53 +01:00
Knut Morten Okstad
4330cf335f Fixed: Always install ASMunstruct.h 2017-12-07 14:20:35 +01:00
Knut Morten Okstad
52551db05e Added: Restore solution state when continuing without mesh refinement 2017-12-05 21:36:26 +01:00
Knut Morten Okstad
e83ae26990 Fixed: Missing call to extractPatchDependencies in SIMoutput::dumpResults 2017-12-05 21:19:19 +01:00
Kjetil Andre Johannessen
e69c100b17 Fixed: Spread refinement more to avoid nasty cases 2017-12-05 21:19:19 +01:00
Knut Morten Okstad
8ba37f8cb7 Added: Specify time from when to start mesh adaptation and dump of LR grid.
Changed: Do not stop the simulation if we reach the end time during the
prediction steps, must check if the mesh needs refinement first.
2017-12-05 21:16:03 +01:00
Knut Morten Okstad
e514a25e8f Added: virtual methods getMinimumSize and checkElementSize 2017-12-05 20:56:26 +01:00
Knut Morten Okstad
7259ea6113 Added: SIMinput::getFunctionsForElements 2017-12-05 20:56:26 +01:00
Knut Morten Okstad
b43d61608c Added: Option to toggle off cycling in time-slab adaptive prediction step 2017-12-05 20:52:16 +01:00
Arne Morten Kvarving
93479c6e50 Added: Nearest neighbour Gauss point solution transfer 2017-11-30 10:14:34 +01:00
Knut Morten Okstad
81fab2d99c Fixed: Missing initialization of ncmp for the multi-valued field functions.
Changed: Renamed VecFieldFuncBase to FieldsFuncBase and removed the
default constructors (unused and not needed).
2017-11-20 18:03:48 +01:00
Knut Morten Okstad
82598cdc8d Changed: Signature of method solutionNorms for linear/static use.
Only the first vector is needed, and also added a name to be printed
in the log to identify the calculation in case of several solutions.
2017-11-14 11:18:58 +01:00
Knut Morten Okstad
eda38e2f42 Added: Some more debug output of patch-wise solution vectors, etc.
Changed: Made the SIMbase::getReactionForces method virtual.
2017-11-14 11:18:58 +01:00
Knut Morten Okstad
57cd124d5e Cosmetic fix: Confusing/unused material code printout 2017-11-14 11:16:51 +01:00
Arne Morten Kvarving
59cefa93b1 added: support for using fields as anasol functions 2017-11-10 09:43:26 +01:00
Knut Morten Okstad
7c7121b25c Changed: Use Vec4 instead of Vec3 as function argument.
Let the base class Field(s) contain the dummy implementations
for the non-supported evaluation methods.
Fixed: Some indexing errors in the gradient/hessian methods.
2017-11-10 09:43:26 +01:00
Arne Morten Kvarving
ea907b333a implement ASMu3Dmx::evalSolution 2017-11-10 09:43:01 +01:00
Arne Morten Kvarving
17cc7a4dc5 fix compilation without LR splines
regression in 66bd5f70
2017-11-07 22:13:36 +01:00
Kjetil Andre Johannessen
7f63cdf2de LR multipatch: optimize mesh, by reducing number of functions picked to refine 2017-10-31 06:42:16 +01:00
Kjetil Andre Johannessen
66bd5f7035 LR multipatch: special case corners, lines and faces for interior propegation 2017-10-31 06:42:16 +01:00
Kjetil Andre Johannessen
755da42e2c Documentation 2017-10-31 06:41:27 +01:00
Kjetil Andre Johannessen
713e80b8cc LR multipatch adap: reduce footprint by only extending normal to boundaries 2017-10-29 07:05:42 +01:00
Arne Morten Kvarving
1ee249ce5d add support for multipatch solution transfer 2017-10-29 07:05:42 +01:00
Kjetil Andre Johannessen
9dff16f6ec LR multipatch: added refinement propegation across patch boundaries to match interior mesh 2017-10-29 07:05:42 +01:00
Kjetil Andre Johannessen
a6dac6bcd4 Find covered boundary functions during refinement and pass to neighbours 2017-10-29 07:05:42 +01:00
Knut Morten Okstad
7606f3a3ca Fixed: Terminate the element loop also when jel = MLGE.size().
Only to avoid a valgrind issue by adressing outside the MLGE array.
The bug had no other effects, since the subsequent check will catch
the intended behaviour in any case.
2017-10-29 07:02:30 +01:00
Knut Morten Okstad
32bb68d223 Fixed (cosmetic, but still): Error handling of invalid topology specification.
Also a notice that the thickness support for ASMu3D is doubtful.
2017-10-22 13:04:20 +02:00
Knut Morten Okstad
4e7558fbf0 Added: Option to specify msgLevel on the input file.
Suppress threading information for multi-patch models unless msgLevel > 2.
2017-10-22 12:36:37 +02:00
Kjetil Andre Johannessen
df22337ed9 Don't print multithread LR assembly colouring details to log 2017-10-18 14:24:19 +02:00
Arne Morten Kvarving
5a8e3011f2 added: support for solving system directly from elem map using PETSc 2017-10-18 10:55:00 +02:00
Arne Morten Kvarving
01b699dc23 added: support for using PETSc solvers for global L2 projection 2017-10-18 10:55:00 +02:00