Commit Graph

2726 Commits

Author SHA1 Message Date
Arne Morten Kvarving
9d133d8be1 move refinement basis into ASMLRSpline 2023-08-29 14:05:20 +02:00
Arne Morten Kvarving
b3b3e1fa7a ASMu2D: make createLRNurbs return a shared_ptr directly
no reason to use bare pointers here, they are always put into
a shared_ptr
2023-08-29 14:05:20 +02:00
Arne Morten Kvarving
59ad91c245 rename altProjThreadGroups to proj2ThreadGroups 2023-08-29 14:05:20 +02:00
Arne Morten Kvarving
505d9d9a6c move projection bases into ASMLRSpline 2023-08-29 14:05:20 +02:00
Arne Morten Kvarving
dce989f1c6 changed: remove proj members in ASMs2D and ASMs3D
as these are stored as projB in ASMstruct.
less confusion as there are less member pointers.
2023-08-29 10:52:23 +02:00
Arne Morten Kvarving
086592c2f9 changed: move secondary projection basis into ASMstruct 2023-08-29 10:52:23 +02:00
Arne Morten Kvarving
1d32025671 ASMuxDmx: simplify remapErrors by using elm->midpoint() 2023-08-29 10:12:45 +02:00
Arne Morten Kvarving
bd5609035b changed: rename ASMLRSpline::geo to geomB
to be consistent with ASMstruct. we store it
as a shared_ptr. too many pointers to keep manually
track of. it can be (soon) be a separate object,
one of the FE bases, the projection basis, ...
2023-08-29 09:11:09 +02:00
Knut Morten Okstad
3a4fc9e081 Changed: Second (mostly dummy) argument in read method is removed.
Instead, introducing a separate readBasis method.
2023-08-25 16:43:46 +02:00
Arne Morten Kvarving
0a33cedfc3 changed: introduce a method to obtain first node on integration basis
use this in ASMsxD::getElementCoordinates. we can then
reuse this method in ASMsxDmx
2023-08-25 12:26:26 +02:00
Arne Morten Kvarving
c0b5911549 changed: introduce a method to obtain last node on integration basis
use this in ASMsxD::getParametric[Area|Length|Volume]. we can then
reuse these method in ASMsxDmx
2023-08-25 12:26:26 +02:00
Arne Morten Kvarving
deb2bd53ea fixed: make sure to always set geoBasis
if not we risk getting the wrong setting if we instance
a SIM with e.g. subgrid followed by instancing a SIM with Taylor-Hood.
2023-08-25 11:16:05 +02:00
Arne Morten Kvarving
3e5924ba68 fixed: use correct path
these tests were missing when using Apps/CMakeLists.txt
2023-08-24 11:35:00 +02:00
Knut Morten Okstad
bc066b9336 Changed: Unnecessary copying of bfs.N removed.
Fixed: Debug print in ASMu2D::integrate().
2023-08-15 11:47:15 +02:00
Arne Morten Kvarving
f2f876c77c added: BasisFunctionCache in ASMu3Dmx 2023-08-15 11:47:15 +02:00
Arne Morten Kvarving
730fdca306 added: BasisFunctionCache in ASMu3D 2023-08-15 11:47:15 +02:00
Arne Morten Kvarving
2f676bf6b3 added: BasisFunctionCache in ASMu2Dmx 2023-08-15 11:47:15 +02:00
Arne Morten Kvarving
f2924c1cbd added: BasisFunctionCache in ASMu2D 2023-08-15 11:47:15 +02:00
Arne Morten Kvarving
bffcfa640f added: BasisFunctionCache in ASMs3DmxLag 2023-08-15 11:47:15 +02:00
Arne Morten Kvarving
e595bd3556 added: BasisFunctionCache in ASMs3Dmx 2023-08-15 11:47:15 +02:00
Arne Morten Kvarving
003d567cd3 added: BasisFunctionCache in ASMs3DLag 2023-08-15 11:47:15 +02:00
Arne Morten Kvarving
a247271241 added: BasisFunctionCache in ASMs3D 2023-08-15 11:47:15 +02:00
Arne Morten Kvarving
a6debc90af added: BasisFunctionCache in ASMs2DmxLag 2023-08-15 11:47:15 +02:00
Arne Morten Kvarving
f268e533a8 added: BasisFunctionCache in ASMs2Dmx 2023-08-15 11:47:15 +02:00
Arne Morten Kvarving
eff2b08e03 added: BasisFunctionCache in ASMs2DLag 2023-08-15 11:47:15 +02:00
Arne Morten Kvarving
6ce589a6b5 added: BasisFunctionCache in ASMs2D 2023-08-15 11:47:15 +02:00
Arne Morten Kvarving
c168894ebf added: input file option for defining cache policy 2023-08-15 11:47:15 +02:00
Arne Morten Kvarving
44bbec509a added: base class for basis function cache 2023-08-15 11:47:15 +02:00
Knut Morten Okstad
4fc972737a Fixed: G_MATRIX and AVERAGE calculation for 3D mixed LR 2023-08-01 14:42:06 +02:00
Knut Morten Okstad
58a1bf78d1 Added: Error exit if integrand with reduced integration for mixed LR.
Fixed: Solution transfer for mixed in 3D.
2023-08-01 12:23:22 +02:00
Knut Morten Okstad
d8ac636fee Added: Convenience method in utl namespace for calculation of (1st and 2nd)
derivatives of mixed basis functions w.r.t. Cartesian coordinates,
including the Jacobian and Hessian matrices
2023-08-01 10:26:02 +02:00
Knut Morten Okstad
91b9a07230 Removed unused and potentially dangerous evaluateBasis method,
storing basis function derivatives w.r.t. parameter domain coordinates
in the array intended for derivatives w.r.t. Cartesian coordinates
2023-08-01 10:26:02 +02:00
Knut Morten Okstad
e63aebcc03 Added: Convenience typedef SplinePtr in ASMu2Dmx and ASMu3Dmx
and use it instead of auto in range-based loops for readability.
Changed: Use getElement(iel) instead of elementBegin()+iel.
Fixed: Don't increment element counter when skipping element
not in current threading group when doing interface integral.
2023-08-01 10:26:02 +02:00
Knut Morten Okstad
3d3816130c Added: Convenience method getElementsAt() for ASMu2Dmx and ASMu3Dmx. 2023-08-01 10:26:02 +02:00
Knut Morten Okstad
78635f56d3 Fixed: Integration point counter for mixed integrand.
Changed: Return false instead of break in loop without threading.
2023-08-01 10:26:02 +02:00
Arne Morten Kvarving
733c9c51a9 added: set parameters in SplineUtils::project 2023-06-08 11:00:43 +02:00
Arne Morten Kvarving
b142a0b54b install SplineFields?xD.h 2023-06-08 10:24:58 +02:00
Arne Morten Kvarving
29d70c1262 fixed: initial conditions with partitioning
calculate these on root node and broadcast instead of calculating
separately on each process. this can cause desync between processes,
for instance if the initial condition uses random numbers
2023-06-08 10:24:58 +02:00
Arne Morten Kvarving
6736f7829f added: broadcast wrapper to ProcessAdm 2023-06-08 10:24:58 +02:00
Arne Morten Kvarving
933bc34944 ASMu2Dmx: add rational support 2023-05-26 09:40:42 +02:00
Arne Morten Kvarving
6a227741d6 added: NURBS support in LRSplineField(s)2D(mx) 2023-05-25 08:36:08 +02:00
Arne Morten Kvarving
84badbb8c8 changed: make NURBS basis evaluation methods static and public
for reuse in fields classes
2023-05-25 08:36:08 +02:00
Arne Morten Kvarving
be6dd45918 changed: make getCoordinates a static and public method
for reuse in field classes
2023-05-25 08:36:08 +02:00
Arne Morten Kvarving
046b242920 added: function to query whether a ASMu2D is rational or not 2023-05-25 08:36:08 +02:00
Arne Morten Kvarving
835384655c fixed: handle rational projection basis 2023-05-23 20:47:09 +02:00
Arne Morten Kvarving
373cdf281e changed: convert lambda to static member function 2023-05-23 20:47:09 +02:00
Arne Morten Kvarving
98770849dd fixed: set a longer timeout for valgrind enabled tests 2023-05-23 13:09:28 +02:00
Arne Morten Kvarving
ada3102a76 ASMu2Dmx: use computeBasis wrapper
in preparation for rational support
2023-05-23 13:09:28 +02:00
Arne Morten Kvarving
a107664301 added: eps output functions for LR nurbs 2023-05-23 12:03:40 +02:00
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