hp-FEM
Adaptive hp-FEM suite for nano-optics
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
hpfem::solvers::MemoryEstimate Struct Reference

#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
 

Detailed Description

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).

Member Function Documentation

◆ describe()

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".

Member Data Documentation

◆ backend

DirectSolverBackend hpfem::solvers::MemoryEstimate::backend = DirectSolverBackend::kSparseLu

◆ dofs

Index hpfem::solvers::MemoryEstimate::dofs = 0

unknowns of the factorised system (after condensation)

◆ factor_bytes

std::size_t hpfem::solvers::MemoryEstimate::factor_bytes = 0

the factors with the backend's index overhead

◆ factor_entries

Index hpfem::solvers::MemoryEstimate::factor_entries = 0

entries of the factors (L + U, or L of the LDLᵀ path)

◆ matrix_bytes

std::size_t hpfem::solvers::MemoryEstimate::matrix_bytes = 0

system matrix plus the assembly triplets at their peak

◆ matrix_nonzeros

Index hpfem::solvers::MemoryEstimate::matrix_nonzeros = 0

nonzeros of the system matrix

◆ total_bytes

std::size_t hpfem::solvers::MemoryEstimate::total_bytes = 0

matrix_bytes + factor_bytes


The documentation for this struct was generated from the following file: