|
hp-FEM
Adaptive hp-FEM suite for nano-optics
|
#include <memory_estimate.hpp>
Public Member Functions | |
| std::string | describe () const |
Public Attributes | |
| Index | dofs = 0 |
| unknowns of the factorised system (after condensation) | |
| Index | matrix_nonzeros = 0 |
| nonzeros of the system matrix | |
| Index | factor_entries = 0 |
| entries of the factors (L + U, or L of the LDLᵀ path) | |
| std::size_t | matrix_bytes = 0 |
| system matrix plus the assembly triplets at their peak | |
| std::size_t | factor_bytes = 0 |
| the factors with the backend's index overhead | |
| std::size_t | total_bytes = 0 |
| matrix_bytes + factor_bytes | |
| DirectSolverBackend | backend = DirectSolverBackend::kSparseLu |
Sizes of one factorisation. backend is the one the estimate assumed (kAuto resolved to MUMPS if available, otherwise SparseLU; cuDSS is estimated like MUMPS and its factors live on the device).
| std::string hpfem::solvers::MemoryEstimate::describe | ( | ) | const |
One line for logs and GUIs, e.g. "147968 DoFs, 1.1 M nonzeros, factors 9.9 M entries (MUMPS): about 0.23 GB".
| DirectSolverBackend hpfem::solvers::MemoryEstimate::backend = DirectSolverBackend::kSparseLu |
| Index hpfem::solvers::MemoryEstimate::dofs = 0 |
unknowns of the factorised system (after condensation)
| std::size_t hpfem::solvers::MemoryEstimate::factor_bytes = 0 |
the factors with the backend's index overhead
| Index hpfem::solvers::MemoryEstimate::factor_entries = 0 |
entries of the factors (L + U, or L of the LDLᵀ path)
| std::size_t hpfem::solvers::MemoryEstimate::matrix_bytes = 0 |
system matrix plus the assembly triplets at their peak
| Index hpfem::solvers::MemoryEstimate::matrix_nonzeros = 0 |
nonzeros of the system matrix
| std::size_t hpfem::solvers::MemoryEstimate::total_bytes = 0 |
matrix_bytes + factor_bytes