Commit Graph

1977 Commits

Author SHA1 Message Date
Knut Morten Okstad
c669995f36 Added: matrix::trace() and matrix3d::trace(size_t) 2018-01-04 15:41:49 +01:00
Knut Morten Okstad
ade049db47 Changed: Make SIMoptions::parseProjectionMethod public.
Added: Argument iComp to return the projection of only a specified component.
2018-01-04 15:41:49 +01:00
Arne Morten Kvarving
93f97edebf whoops, this should be c++11. thanks bska 2018-01-04 14:45:04 +01:00
Arne Morten Kvarving
e7a98b5e90 changed: support dune-istl >= 2.5 2018-01-04 14:29:22 +01:00
Arne Morten Kvarving
32fded7590 added: enable c++14 if supported 2018-01-04 14:29:22 +01:00
Arne Morten Kvarving
6a46fec4ac fixed: wrong indent
causes a warning with gcc7
2018-01-04 14:29:22 +01:00
Arne Morten Kvarving
765816ab87 fixed: add missing includes 2018-01-04 14:29:22 +01:00
Knut Morten Okstad
5aa904a82d Added: New solver template for stationary problems, SIMSolverStat.
This class only contains the output handling and no time-stepping.
The SIMSolver and SIMSolverAdap templates then inherit SIMSolverStat,
adding time-stepping/restart and adaptive functionality, respectively.
This makes it clear that SIMSolverAdap is not for time-dependent problems.
Also moved the ConfigureSIM template to a separate header file.
2018-01-02 16:42:08 +01:00
Arne Morten Kvarving
49d2000ee9 added: unit tests for gaussian quadrature 2018-01-02 13:44:07 +01:00
Arne Morten Kvarving
6b1c1b043b Fixed: open/close file in hasGeometries 2017-12-19 14:47:41 +01:00
Knut Morten Okstad
5d32686d4a Added: Support for time histories in the FieldFunction classes 2017-12-19 14:47:41 +01:00
Knut Morten Okstad
26f5a7b9c3 Changed: Suppress result point output for big groups (lines).
Also use range-based for loops when iterating over result point.
2017-12-14 17:28:11 +01:00
Arne Morten Kvarving
54070b8f50 added: implement getElementSize and getMinimumElementSize for 3D LR 2017-12-14 12:48:36 +01:00
Arne Morten Kvarving
9fc12d31dd added: make function for refinement based on a density function virtual in ASMunstruct
add implementation for 3D LR
2017-12-14 12:48:36 +01:00
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