|
hp-FEM
Adaptive hp-FEM suite for nano-optics
|

Go to the source code of this file.
Classes | |
| class | hpfem::solvers::DeviceMatrix |
Namespaces | |
| namespace | hpfem |
| namespace | hpfem::solvers |
A sparse matrix kept on the GPU for repeated products (HPFEM_ENABLE_CUDA, hpfem_gpu library of API version 3 or later): uploaded once, apply computes \( y = A x \) on the device for one or several vectors, which the transient solver uses for the two products of every Newmark step. Without the library or a device, available() is false and the constructor throws. See docs/theory/solvers.md.