hp-FEM
Adaptive hp-FEM suite for nano-optics
Loading...
Searching...
No Matches
Classes | Namespaces
device_matrix.hpp File Reference
#include <memory>
#include "hpfem/core/types.hpp"
Include dependency graph for device_matrix.hpp:

Go to the source code of this file.

Classes

class  hpfem::solvers::DeviceMatrix
 

Namespaces

namespace  hpfem
 
namespace  hpfem::solvers
 

Detailed Description

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.