Skip to main content

Showing 1–5 of 5 results for author: Moskovka, A

.
  1. arXiv:2404.16039  [pdf, other

    cs.MS

    On a vectorized basic linear algebra package for prototy** codes in MATLAB

    Authors: Alexej Moskovka, Talal Rahman, Jan Valdman, Jon Eivind Vatne

    Abstract: When writing high-performance code for numerical computation in a scripting language like MATLAB, it is crucial to have the operations in a large for-loop vectorized. If not, the code becomes too slow to use, even for a moderately large problem. However, in the process of vectorizing, the code often loses its original structure and becomes less readable. This is particularly true in the case of a… ▽ More

    Submitted 15 March, 2024; originally announced April 2024.

    Comments: 35 pages, 8 figures

  2. arXiv:2309.13028  [pdf, other

    cs.CE

    Minimization of energy functionals via FEM: implementation of hp-FEM

    Authors: Miroslav Frost, Alexej Moskovka, Jan Valdman

    Abstract: Many problems in science and engineering can be rigorously recast into minimizing a suitable energy functional. We have been develo** efficient and flexible solution strategies to tackle various minimization problems by employing finite element discretization with P1 triangular elements [1,2]. An extension to rectangular hp-finite elements in 2D is introduced in this contribution.

    Submitted 22 September, 2023; originally announced September 2023.

  3. arXiv:2205.07637  [pdf, other

    cs.MS

    MATLAB implementation of hp finite elements on rectangles

    Authors: Alexej Moskovka, Jan Valdman

    Abstract: A simple MATLAB implementation of hierarchical shape functions on 2D rectangles is explained and available for download. Global shape functions are ordered for a given polynomial degree according to the indices of the nodes, edges, or elements to which they belong. For a uniform p-refinement, the hierarchical structure enables an effective assembly of mass and stiffness matrices. A solution of a b… ▽ More

    Submitted 10 May, 2022; originally announced May 2022.

    Comments: 12 pages, 6 figures

  4. Fast MATLAB evaluation of nonlinear energies using FEM in 2D and 3D: nodal elements

    Authors: Alexej Moskovka, Jan Valdman

    Abstract: Nonlinear energy functionals appearing in the calculus of variations can be discretized by the finite element (FE) method and formulated as a sum of energy contributions from local elements. A fast evaluation of energy functionals containing the first order gradient terms is a central part of this contribution. We describe a vectorized implementation using the simplest linear nodal (P1) elements i… ▽ More

    Submitted 10 May, 2022; v1 submitted 22 August, 2021; originally announced September 2021.

    Comments: 24 pages, 9 figures Before the article was published, some minor changes were applied based on the reviewers' comments

    Journal ref: Applied Mathematics and Computation, Volume 424, 2022

  5. Minimization of p-Laplacian via the Finite Element Method in MATLAB

    Authors: Ctirad Matonoha, Alexej Moskovka, Jan Valdman

    Abstract: Minimization of energy functionals is based on a discretization by the finite element method and optimization by the trust-region method. A key tool is a local evaluation of the approximated gradients together with sparsity of the resulting Hessian matrix. We describe a vectorized MATLAB implementation of the p-Laplace problem in one and two space-dimensions, however it is easily applicable to oth… ▽ More

    Submitted 16 May, 2021; v1 submitted 2 March, 2021; originally announced March 2021.

    Comments: 8 pages, 3 figures, accepted proceeding of conference LSSC 2021, Sozopol, Bulgaria