Commit Graph

2861 Commits

Author SHA1 Message Date
Arne Morten Kvarving
1e96b51374 added: extract a sub-block of a matrix 2023-09-18 08:01:43 +02:00
Arne Morten Kvarving
4865cc317b added: allow specifying offset and stride for vector in add 2023-09-18 08:01:43 +02:00
Arne Morten Kvarving
d50328df50 cleanup ASMuxDmx::evalSolution
- use getElementsAt
- no reason to have a vector of evaluation objects
2023-09-16 10:20:57 +02:00
Arne Morten Kvarving
dca21c8856 changed: establishing RT basis now uses order lowering
does not make sense to use order raising since the geometry
needs to be the highest order
2023-09-11 11:54:33 +02:00
Arne Morten Kvarving
eaefc70d26 simplify establishment of subgrid basis
use adjustBasis()
2023-09-11 11:54:33 +02:00
Arne Morten Kvarving
96ddcfe9d4 ASMmxBase: rename raiseBasis to adjustBasis
take an array of AdjustOps for what to do
in each parameter direction
2023-09-11 11:54:33 +02:00
Arne Morten Kvarving
5dae005582 changed: use adjustBasis in ASMmxBase::raiseBasis
for surfaces and volumes
2023-09-11 11:54:33 +02:00
Arne Morten Kvarving
5bfae73494 added: utility function to lower/raise order of a Bspline basis
and tests
2023-09-11 11:54:33 +02:00
Arne Morten Kvarving
a9096e5333 TestSplineField(s): avoid memory leaks 2023-09-08 14:59:18 +02:00
Arne Morten Kvarving
475bf496c9 changed: use ASM(mx)u(Cube|Square) in TestLRSplineField(s)
similar to the tensor spline tests
2023-09-08 14:59:18 +02:00
Arne Morten Kvarving
66bac83978 remove ASMu3D::getParametricVolume
method is not used
2023-09-08 12:58:14 +02:00
Arne Morten Kvarving
309f57fb64 ASMuxDmx::swapProjectionBasis: move to ASMLRSpline
now there are no differences between the classes so let's unify.
also a step in making functionality available for non-mixed ASMs,
although there is more work before that is supported.
2023-09-08 12:58:14 +02:00
Arne Morten Kvarving
aff5742171 changed: move thread group variables to ASMLRSpline
all groups now makes sense for 2D/3D, and will make
sense for non-mixed as well eventually.
2023-09-08 12:58:14 +02:00
Arne Morten Kvarving
10c1834056 remove ASMu3D::myGeoBasis - now unused 2023-09-08 12:58:14 +02:00
Arne Morten Kvarving
09fbaf5ec4 ASMu3Dmx: use projection spline for geometry with DIV_COMPATIBLE 2023-09-08 12:58:14 +02:00
Arne Morten Kvarving
f79604e61a ASMu3Dmx: use original spline for geometry with SUBGRID 2023-09-08 12:58:14 +02:00
Arne Morten Kvarving
e3caca11eb ASMu3D::evalPoint: use geometry basis 2023-09-08 12:58:14 +02:00
Arne Morten Kvarving
494a8df6b8 ASMu3D::faceL2projection: add support for a separate geometry basis 2023-09-08 12:58:14 +02:00
Arne Morten Kvarving
0576f121b0 ASMu3Dmx::assembleL2matrices: support for a separate geometry basis 2023-09-08 12:58:14 +02:00
Arne Morten Kvarving
9f399aa78d ASMu3Dmx::evalSolution: add support for a separate geometry 2023-09-08 12:58:14 +02:00
Arne Morten Kvarving
c97035a749 ASMu3Dmx::integrate: add support for a separate geometry basis 2023-09-08 12:58:14 +02:00
Arne Morten Kvarving
be59cecf9b ASMu3D::getElementCoordinates: support a separate geometry basis 2023-09-08 12:58:14 +02:00
Arne Morten Kvarving
fd9e17bacb changed: drop ASMu2D::getParametricArea
just use LR::Element::area directly
2023-09-08 08:57:07 +02:00
Arne Morten Kvarving
47af45a21e ASMu2Dmx: use projection spline for geometry with DIV_COMPATIBLE 2023-09-08 08:57:07 +02:00
Arne Morten Kvarving
07bd00da2d ASMu2Dmx: use original spline for geometry with SUBGRID 2023-09-08 08:57:07 +02:00
Arne Morten Kvarving
772704b401 ASMu2D::evalPoint: use geometry basis 2023-09-08 08:57:07 +02:00
Arne Morten Kvarving
860a8a31e9 ASMu2D::edgeL2projection: add support for a separate geometry basis 2023-09-08 08:57:07 +02:00
Arne Morten Kvarving
fec1cac3eb ASMu2Dmx::evalSolution: add support for a separate geometry 2023-09-08 08:57:07 +02:00
Arne Morten Kvarving
0d73f3fa83 ASMu2Dmx::assembleL2matrices: support for a separate geometry basis 2023-09-08 08:57:07 +02:00
Arne Morten Kvarving
a0e1433dd3 ASMu2Dmx::integrate: add support for a separate geometry basis 2023-09-08 08:57:07 +02:00
Arne Morten Kvarving
0c625b614e ASMu2D::getElementCoordinates: support a separate geometry basis 2023-09-08 08:57:07 +02:00
Arne Morten Kvarving
1de184cbfa ASMs2D::evalPoint: use geometry basis 2023-09-08 08:25:30 +02:00
Arne Morten Kvarving
91959fdf27 ASMs3D::evalPoint: use geometry basis 2023-09-08 08:25:30 +02:00
Arne Morten Kvarving
7ebdd7acab SplineUtils::point: pass spline as const 2023-09-08 08:25:30 +02:00
Arne Morten Kvarving
0f93b98fce ASMsxDmx::swapProjectionBasis: move to ASMstruct
now there are no differences between the classes so let's unify.
also a step in making functionality available for non-mixed ASMs,
although there is more work before that is supported.
2023-09-08 08:25:30 +02:00
Arne Morten Kvarving
ee77610cb2 ASMs3Dmx: use projection grid for geometry with DIV_COMPATIBLE 2023-09-08 08:25:30 +02:00
Arne Morten Kvarving
312c50c309 ASMs3Dmx: use original spline for geometry with SUBGRID 2023-09-08 08:25:30 +02:00
Arne Morten Kvarving
ac11ac2d32 ASMs3D::assembleL2matrices: support for a separate geometry basis 2023-09-08 08:25:30 +02:00
Arne Morten Kvarving
6ddca79ea4 ASMs3Dmx: tabs to spaces 2023-09-08 08:25:30 +02:00
Arne Morten Kvarving
61637671d5 ASMs3Dmx::integrate: add support for a separate geometry basis 2023-09-08 08:25:30 +02:00
Arne Morten Kvarving
5eb981147e ASMs3D::getElementCoordinates: support a separate geometry basis 2023-09-08 08:25:30 +02:00
Arne Morten Kvarving
e2768902be fixed: remove ASMs3Dmx::getElementCoordinates
accidentially left out of 0a33cedfc3
2023-09-08 08:25:30 +02:00
Arne Morten Kvarving
dc72826188 ASMs2Dmx: use projection grid for geometry with DIV_COMPATIBLE 2023-09-07 08:57:30 +02:00
Arne Morten Kvarving
dcd7067064 ASMs2Dmx: use original spline for geometry with SUBGRID 2023-09-07 08:57:30 +02:00
Arne Morten Kvarving
6ac805a569 ASMs2D::assembleL2matrices: support for a separate geometry basis 2023-09-07 08:57:30 +02:00
Arne Morten Kvarving
574bffdfb1 ASMbase::getElementCoordinates: add flag to force integration basis
required as this is used to obtain coordinates for integration elements
in CFL calculations and in ASMu2D evalPoint
2023-09-07 08:57:30 +02:00
Arne Morten Kvarving
1e01b45c9b ASMs2Dmx: replace tabs with spaces 2023-09-07 08:57:30 +02:00
Arne Morten Kvarving
f28b871df0 ASMs2Dmx::integrate: add support for a separate geometry basis 2023-09-07 08:57:30 +02:00
Arne Morten Kvarving
5a9f3be584 ASMs2D::getElementCoordinates: support a separate geometry basis 2023-09-07 08:57:30 +02:00
Arne Morten Kvarving
34841db38c fixed: do not use bezier extraction with subgrid in 3D unstruct
we cannot uniformly use bezier extraction from gauss points
with subgrid, since we are not evaluating in gauss points
distributed across the element for all bases. this because
our integration elements have an additional subdivision,
which means the pressure basis is evaluated in non-uniform points
(ie we evaluate in 8 distinct sets of gauss-points over its elements).
2023-09-07 08:21:51 +02:00