You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
? Then all i'd have to do is pass the 32x32 stiffness matrices and 32x1 forcing/load vectors (or the relevant size for even-higher-order FEM). Mostly my issue is not fully understanding how the HYPRE_SStructVariables are treated in the back of HYPRE. One of the things that may not be necessarily reflected correctly here is that the grids can be slightly staggered with differing number of gridpoints in the x and y direction for both variables (e.g. for satisfying LBB conditions of some variable p using high-order polys for u and v).
On that note, is there a way to do a reassembly of the load-vectors / matrix without re-declaring/creating+re-initializing a new vector (and destroying the old one)? It is mostly for time marching in which the RHS changes.
Andrea
The text was updated successfully, but these errors were encountered:
Hi,
I'd like to solve a system of PDEs that can be block-matrix-ed into:
where the off-diagonals are non-zero, via a high-order FEM approach.
Taking inspiration from ex16.c, can I naturally build this coupled system of equations by increasing the size of the HYPRE_SStructVariable from
to something along the lines of
and the ordering from
to something along the lines of
to effectively represent the nodal solution on a grid like (following the (order# : variable#) notation):
? Then all i'd have to do is pass the 32x32 stiffness matrices and 32x1 forcing/load vectors (or the relevant size for even-higher-order FEM). Mostly my issue is not fully understanding how the HYPRE_SStructVariables are treated in the back of HYPRE. One of the things that may not be necessarily reflected correctly here is that the grids can be slightly staggered with differing number of gridpoints in the x and y direction for both variables (e.g. for satisfying LBB conditions of some variable p using high-order polys for u and v).
On that note, is there a way to do a reassembly of the load-vectors / matrix without re-declaring/creating+re-initializing a new vector (and destroying the old one)? It is mostly for time marching in which the RHS changes.
The text was updated successfully, but these errors were encountered: