Arne Morten Kvarving
acb0c471eb
changed: unify computeBasis signatures
...
always take a spline pointer parameter. use reference in the NURBS interfaces.
2023-05-23 11:38:54 +02:00
Arne Morten Kvarving
403cc925bc
fixed: use internal basis evaluation in jump integration method
...
to handle NURBS
2023-05-23 11:13:58 +02:00
Knut Morten Okstad
f9c1be46ed
Fixed a valgrind issue in test problem (missing initialization)
2023-05-23 09:30:15 +02:00
Arne Morten Kvarving
9ec1b0d6d9
fixed: have to regenerate bezier basis when switching projection basis
...
we also have to switch geometry as we need elements without the
additional refinement when projecting the pressure
2023-05-22 14:16:35 +02:00
Arne Morten Kvarving
bb7d87efb9
changed: fold ASMu2Dnurbs into ASMu2D
...
this so we get access to NURBS in ASMu2Dmx.
remove ASM::LRNurbs and option -LRn as we now detect
rational from the underlying tensor spline
2023-05-16 22:02:36 +02:00
Knut Morten Okstad
81b341d03f
Fixed: External forces where added twice for HHTSIM
2023-05-03 06:12:02 +02:00
Knut Morten Okstad
d775740068
Added: Methods for debug print of element matrices, with optional names
2023-05-03 06:11:18 +02:00
Knut Morten Okstad
234f4c152b
Added: Unit test for NewmarkNLSIM
2023-05-02 13:20:47 +02:00
Arne Morten Kvarving
fb34513b76
added: set parameters in ASMs3DLag::integrate(B)
2023-03-27 14:07:55 +02:00
Knut Morten Okstad
6f0d8d56a6
Changed: ASMbase::globalL2projection() does not need to be virtual.
...
Added: Enforcement of end point values in the global L2-projection.
2023-02-15 07:38:04 +01:00
Knut Morten Okstad
d2c496c920
Fixed: Use actual spline parameters when evaluating functions - not the normalized ones.
...
Changed: Use matrix::fillColumn() instead of loop.
2023-02-14 13:37:18 +01:00
Knut Morten Okstad
9e35a86598
Cosmetic doxy fixes
2023-02-14 12:07:08 +01:00
Arne Morten Kvarving
a09dbbd82b
fixed: allow system CFLAGS in petsc pkg config
...
these can end up empty if petsc is installed to system
paths and stripping is enabled
2023-01-12 12:44:12 +01:00
Knut Morten Okstad
747b21b655
Changed: Simply VariationDiminishingSplineApproximation() signature
2023-01-10 13:47:06 +01:00
Knut Morten Okstad
90f7129729
Changed: Use && instead of bit-wise &, to avoid warnings with newer compilers.
...
The result is that the mesh will not be saved if the refinement fails,
which probably makes more sense anyway.
2023-01-10 13:39:52 +01:00
Knut Morten Okstad
d89c31558f
Changed: Return int instead of bool such the bitwise or
...
can be used on the result without warning for newer compilers
2023-01-10 13:39:52 +01:00
Arne Morten Kvarving
4ea903be4f
Fixed: Wrong return value
2023-01-10 13:39:52 +01:00
Knut Morten Okstad
4618eab9d0
Added: Optional element shrinkage factor for LR meshes to VTF
2022-10-29 11:50:45 +02:00
Knut Morten Okstad
69e43205ca
Fixed: Potential infinite recursion
2022-10-04 14:54:14 +02:00
Arne Morten Kvarving
a8194b9500
changed: avoid use of PetscPrintf
...
the format specifier %D is deprecated and non-working in newer
petsc. rather than figuring out how to do this properly across
petsc versions, use our own printing facilities.
2022-10-04 13:45:02 +02:00
Arne Morten Kvarving
080fe1c2bc
fixed: graph based partitioning with MPC constraints
2022-10-04 13:45:02 +02:00
Arne Morten Kvarving
bebf8c1313
added: SAM::getUniqueEqns
...
this returns the unique equations for a given element.
in particular it resolves MPC couplings
2022-10-04 13:45:02 +02:00
Knut Morten Okstad
6d42ff4e22
Added: AlgEqSystem methods addScalar() and getScalars(), and the
...
SIMbase method extractScalars(). The latter is a generalization and
replacement of the virtual method getExtLoad() which is no longer needed.
2022-10-04 10:13:19 +02:00
Knut Morten Okstad
f9370d3e67
Fixed: isConstant() for some function types
2022-10-04 10:13:19 +02:00
Knut Morten Okstad
e2c76eaa08
Added: Time-derivative of time-dependent spatial functions
2022-10-04 10:13:19 +02:00
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