First time here? Checkout the FAQ!
x
0 votes
by (640 points)

How can I extract vectors with local and global nodes numbering for structured and unstructured meshes from the openCARP code written so far? I am planning to write a code which works with PETSc routines for index sets (IS) and MatIS, but in order to use them I need how to extract infomation useful to build index sets.

Thank you in advance

1 Answer

0 votes
by (19.1k points)
selected by
by (640 points)
Thank you very much, I'll have a look. My question basically was related to the possibility of adding PETSc MatIS to openCARP source code, since having index set matrices can be useful in order to implement further numerical schemes
by (19.1k points)
Work is done currently to remove essential PETSc dependencies (abstract vector rather than PETSc vectors etc.): https://git.opencarp.org/openCARP/openCARP/-/merge_requests/79

The default numerical backend will still be PETSc but we would like to remove the PETSc dependency if another backend (for example Ginkgo) is used. Thus, we would likely not introduce new PETSc dependencies in the core openCARP code.
Welcome to openCARP Q&A. Ask questions and receive answers from other members of the community. For best support, please use appropriate TAGS!
architecture, carputils, documentation, experiments, installation-containers-packages, limpet, slimfem, website, governance
MathJax.Hub.Config({ tex2jax: { inlineMath: [ ['$','$'], ["\\(","\\)"] ], config: ["MMLorHTML.js"], jax: ["input/TeX"], processEscapes: true } }); MathJax.Hub.Config({ "HTML-CSS": { linebreaks: { automatic: true } } });
...