Commit Graph

2652 Commits

Author SHA1 Message Date
Arne Morten Kvarving
cfa6a8b4a2 fixed: periodic single patch models with multiple bases 2022-10-04 09:51:05 +02:00
Arne Morten Kvarving
d748bdc0eb added: utl::getDirs
this creates a direction integer like '123'
2022-10-04 09:51:05 +02:00
Arne Morten Kvarving
cd60e90fca set cmake policy CMP0012
gtest config file on ubuntu 22.04 contains an if(ON) which
warns. set the policy to NEW to avoid warning
2022-09-13 12:11:38 +02:00
Arne Morten Kvarving
d1c4915e59 fixed: set minimum required version to 3.5
to avoid warning about pre 2.8 compatibility
2022-09-13 12:11:38 +02:00
Arne Morten Kvarving
e56b2715b7 fixed: library path using fallback (downloaded) gtest 2022-09-13 11:38:46 +02:00
Arne Morten Kvarving
0c66ef79ee changed: facilitate reuse of ForceBase derived integrands
previously there was no way to clear the buffers used during
integration. now initBuffer resizes only if necessary, but
always zeros the underlying buffer
2022-08-01 13:45:57 +02:00
Arne Morten Kvarving
edc289e999 add IFEM-Burgers to jenkins and Common app build 2022-06-23 14:05:33 +02:00
Arne Morten Kvarving
14d4f5fcb0 fixed: export cxx standard in IFEMConfig 2022-05-20 14:24:31 +02:00
Arne Morten Kvarving
ad4264505e use INSTANTIATE_TEST_SUITE_P instead of INSTANTIATE_TEST_CASE_P
latter is deprecated
2022-05-19 11:26:24 +02:00
Arne Morten Kvarving
1d7439f36f update downloaded gtest version to 1.11 2022-05-19 11:26:16 +02:00
Arne Morten Kvarving
9004e7fb85 changed: remove embedded gtest library
either install from apt, or rely on the download fallback
2022-05-19 11:26:16 +02:00
Arne Morten Kvarving
063fb58b26 added: proper preallocation for block matrices with graph partitioning 2022-05-19 10:59:43 +02:00
Arne Morten Kvarving
042a70bf65 fixed: fix SplineUtils::project for 3D functions 2022-05-13 11:58:09 +02:00
Arne Morten Kvarving
6df2fd3084 changed: support system installed gtest 2022-05-12 11:53:16 +02:00
Arne Morten Kvarving
6784897dcc changed: use gtest_discover_tests to add unit tests to ctest
this way we can drop our own hacks
2022-05-11 15:16:13 +02:00
Arne Morten Kvarving
bbb90d468e changed: suppress profiler output in unit tests 2022-05-11 15:16:13 +02:00
Arne Morten Kvarving
3f007fdec5 changed: bump minimum cmake version required
newer cmake warns that compatibility pre 3.0 will
be dropped soon
2022-05-11 10:52:02 +02:00
Arne Morten Kvarving
ee5454dbc4 update FindSuiteSparse module
quells a warning with newer cmake
2022-05-11 10:52:02 +02:00
Arne Morten Kvarving
33325c1690 fixed: use proper parameter to the find_package_handle_standard_args call
it needs to make the name of the find module. quells warnings
with newer cmake
2022-05-11 10:52:02 +02:00
Arne Morten Kvarving
a4acd0efac added: support dune-istl >= 2.7 2022-05-11 10:52:02 +02:00
Arne Morten Kvarving
fb16d476bf changed: require C++17
use the standard cmake mechanism to do so
2022-05-11 10:52:02 +02:00
Arne Morten Kvarving
6bbe09a312 fixed: add missing initializers 2022-05-10 11:32:16 +02:00
Arne Morten Kvarving
b1e275683b changed: install GlbL2projector.h 2022-05-10 11:32:16 +02:00
Arne Morten Kvarving
b2707a8137 changed: make SIMbase::project virtual
needs to allow overriding in subclasses for when
implementing support for alternative projection bases
2022-05-10 11:32:16 +02:00
Arne Morten Kvarving
459463878a introduce support for an alternative projection basis 2022-05-10 11:32:16 +02:00
Arne Morten Kvarving
1d88adf5af added: getProjectedField
this returns a scalar field over the projection basis
with the given coefficients.
2022-05-10 11:32:16 +02:00
Arne Morten Kvarving
fa73096ebe changed: remove support for subgridH
no longer needed, pressure and velocity are
projected on separate bases now
2022-05-10 10:15:10 +02:00
Arne Morten Kvarving
73d6e85745 fixed: wrong projection basis for tensor subgrid 2022-05-10 10:15:10 +02:00
Arne Morten Kvarving
3e6edab293 added: allow instancing a FieldFunction from an existing field 2022-05-10 09:59:38 +02:00
Arne Morten Kvarving
f27b3a4efb added: allow instancing scalar fields directly from a surface/volume 2022-05-10 09:59:38 +02:00
Arne Morten Kvarving
6b861e4789 added: initPatch member in Integrand
this tells the integrand the index of the patch currently
being processed.
2022-05-10 09:06:02 +02:00
Arne Morten Kvarving
0fb14fe00d fixed: handle 'default' preconditioner for ISTL 2022-05-09 11:02:37 +02:00
Arne Morten Kvarving
5391cfbc6b added: support for block matrices for graph partitioned models 2022-05-09 11:02:37 +02:00
Arne Morten Kvarving
646bf62b0f changed: refactor setup of sparsity pattern into separate methods
makes the code more readable
2022-05-09 11:02:37 +02:00
Knut Morten Okstad
048e37ffcb Fixup for commit 3ce4b7f369: valgrind complaint 2022-04-28 08:45:57 +02:00
Knut Morten Okstad
6991c28f31 Added: Extra (optional) int argument in writeGlvA 2022-04-26 16:25:20 +02:00
Knut Morten Okstad
5d7270e612 Added: Internal forces debug print 2022-04-26 16:25:20 +02:00
Knut Morten Okstad
3ce4b7f369 Fixed: Clear reaction force component after it being added when a group
of nodes is specified, such that nodes that are member in more than one
set are not added twice
2022-04-26 16:25:20 +02:00
Knut Morten Okstad
3fe7c9842f Added: Search for VTF libraries also under /usr/local 2022-04-26 16:25:20 +02:00
Knut Morten Okstad
b672585ecc Changed: Also log multi-threading on faces to IFEM::cout 2022-04-26 16:25:20 +02:00
Knut Morten Okstad
6b322da4b6 Changed: Generalize ReactionsOnly class for internal force calculation.
Added: SIMbase::assembleForces() and IntegrandBase::setSecondaryInt().
Added: virtual method for calculation/print of interface force resultants.
2022-04-26 16:25:20 +02:00
Arne Morten Kvarving
37d33f0648 fixed: set parameters when projecting function
necessary when using a fieldfunction
2022-04-26 12:45:04 +02:00
Arne Morten Kvarving
e3d3b526e8 fixed: clear additional functions in clearProperties
this is necessary to not register multiple functions if
used in adaptive simulations
2022-04-26 11:39:18 +02:00
Arne Morten Kvarving
cadcefb454 fixed: memory leak in mixed LR integrands
tensorspline was not cleared up after LR bases
had been established
2022-04-26 11:37:34 +02:00
Arne Morten Kvarving
ddf260795f changed: add 'symmetric' as an alias for 'symmetrized' beta type 2022-04-22 12:15:39 +02:00
Arne Morten Kvarving
71fa5975da fixed: check number of components in function
in particular for mixed integrands using anasol boundary conditions
nf can be greater than the number of components in the function. this is
because nf is set to the total number of fields and not the number
of fields on a single basis
2022-04-22 10:57:33 +02:00
Arne Morten Kvarving
e80aef161b re-enable multithreaded mixed 3D assembly
the problems leading to it being disabled should have been fixed now
2022-04-20 12:20:10 +02:00
Arne Morten Kvarving
673eec21c7 added: more field function types
gradient and laplacian of scalar and vectorial fields.
this will be used for deriving source functions for simulations
where we use another simulation result as "exact" solution
2022-04-20 12:19:20 +02:00
Arne Morten Kvarving
02de121ca3 added: ability to use a fixed time level in FieldFunctions 2022-04-20 12:19:20 +02:00
Arne Morten Kvarving
c5c43beca2 fixed/add: hessianFE in SplineFields
previously the derivatives on the reference domain was returned
2022-04-20 12:19:20 +02:00