Commit Graph

2006 Commits

Author SHA1 Message Date
Arne Morten Kvarving
3b83047604 fix oriented connections in ASMs3D 2018-02-15 15:51:39 +01:00
Arne Morten Kvarving
7d04801c2d add test cases for 2D/3D connections
in particular for uneven face sizes (ie n1 != n2)
2018-02-15 15:51:39 +01:00
Arne Morten Kvarving
67458a934a added: store continuity of mesh line intersections in ASMu2D 2018-02-12 10:44:16 +01:00
Knut Morten Okstad
7e0b84db8f Added: SIM3D::clonePatches 2018-02-09 14:10:11 +01:00
Knut Morten Okstad
274d8080cf Changed: Moved patch-only dependent code from SIMinput to ASMu[23]D scope 2018-02-09 14:10:11 +01:00
Arne Morten Kvarving
c01a08de5a changed: redirect doxygen warnings to a log file
easier to inspect than terminal output, and aids jenkins
2018-02-09 12:25:35 +01:00
Arne Morten Kvarving
24c105ee1a fixed: make sure we have a row to store anasol component in 2018-02-07 10:10:45 +01:00
Arne Morten Kvarving
a2cc70623c initialize variables 2018-02-05 10:58:20 +01:00
Arne Morten Kvarving
fc56a25645 changed: install main module whether we build downstreams or not 2018-02-05 10:58:20 +01:00
Arne Morten Kvarving
3b7dc7afdc fix some doxy issues 2018-02-05 10:58:20 +01:00
Arne Morten Kvarving
620c63aa5c remove unused PETSc sources 2018-02-05 10:58:20 +01:00
Arne Morten Kvarving
f1aa79cd99 quell some clang warnings 2018-02-05 10:52:44 +01:00
Arne Morten Kvarving
de442b8815 changed: use a unique temporary file during test execution
allows for parallel execution
2018-02-05 10:52:44 +01:00
Knut Morten Okstad
e6ec689571 Changed: Don't use utl::vector where algebra operations are not needed 2018-02-05 10:41:05 +01:00
Knut Morten Okstad
48354ed80c Added: Missing doxygen banner, etc. 2018-02-05 10:41:05 +01:00
Arne Morten Kvarving
580d5074f4 added: option to build test suite by default
convenience, default behaviour is unchanged
2018-01-24 14:40:49 +01:00
Arne Morten Kvarving
ed6657377a added: specify parameter domain in model generator 2018-01-23 10:18:52 +01:00
Knut Morten Okstad
fe20d9f06d Fixed: Iterate over basis functions also for 3D,
and use range-based for loop instead of auto iterator
2018-01-13 14:26:58 +01:00
Knut Morten Okstad
4e2c38311c Added: Profiling of DataExporter::dumpTimeLevel.
Changed: Range-based for loops instead of vector iterators.
2018-01-13 13:06:05 +01:00
Arne Morten Kvarving
77612daebc fixed: iterate over basis functions instead of getting by ID
the data structure is O(n) for access (and O(1) insert)
2018-01-12 15:03:53 +01:00
Knut Morten Okstad
cefc896412 Added: class SIMargsBase which replaces SIM::AppXMLInputBase residing in
Apps/Common/AppCommn.[Ch]. The latter files therefore removed.
The new class handles parsing of command-line arguments in addition.
2018-01-11 08:12:56 +01:00
Knut Morten Okstad
09485d65d5 Added: Function TimeIntegration::get to map a string to enum value.
Changed: No need to use a SystemMatrix here, Matrix is sufficient.
Changed: Using switch-case instead of if-elseif-else + minor doxy things.
2018-01-11 08:12:56 +01:00
Arne Morten Kvarving
57bfc9cb8a fixed: this should not be virtual
quells warnings about deleting object with virtual members and
non-virtual destructor
2018-01-09 14:42:53 +01:00
Arne Morten Kvarving
4d76fd8ebd fixed: ASMbase needs the maximum number of components
if not, we cannot apply boundary conditions for simulators where
number of fields > nsd. fixes boussinesq application
2018-01-08 13:02:01 +01:00
Arne Morten Kvarving
84ae9d1c1e added: a dedicated refine basis in ASMuxDmx
- implement refinement in ASMu3Dmx
- refactor refinement in ASMLRSpline to allow re-use
  in the mixed functions.
2018-01-04 16:54:11 +01:00
Arne Morten Kvarving
ddedd08598 added: flag in SIM for handling projection through fields
in this case, we cannot assume a global numbering for the projected
bases, so do not apply nodal averaging in SIMbase::project.
rather, store each node successively
2018-01-04 16:54:11 +01:00
Arne Morten Kvarving
8b825190d7 added: ASMbase::getProjectedFields
this returns a Fields instance over the projection basis.
implement this in ASMxxDmx where this is relevant.
2018-01-04 16:54:11 +01:00
Arne Morten Kvarving
d1dca5088c changed: introduce a dedicated projection basis in ASMxxDmx
implement ASMs2Dmx::assembleL2Matrices
implement ASMu3Dmx::assembleL2Matrices
2018-01-04 16:54:11 +01:00
Arne Morten Kvarving
85f392de13 fixed: add missing implementation of constructor in SplineFieldsxD 2018-01-04 16:54:11 +01:00
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