Definition dof_map.hpp:51
Definition device_arnoldi.hpp:23
MemoryEstimate estimate_memory(const fespace::NedelecDofMap< Dim > &dofs, DirectSolverBackend backend=DirectSolverBackend::kAuto, bool condensed=true, const fespace::DofMap< Dim > *longitudinal=nullptr)
std::string format_bytes(std::size_t bytes)
Human-readable byte count, "1.2 GB" / "230 MB" / "12 kB".
DirectSolverBackend
Direct solver backends.
Definition linear_solver.hpp:70
@ kSparseLu
Eigen SparseLU, always available.
std::int64_t Index
global indices (DoFs, entities)
Definition types.hpp:17
Definition memory_estimate.hpp:21
DirectSolverBackend backend
Definition memory_estimate.hpp:28
Index matrix_nonzeros
nonzeros of the system matrix
Definition memory_estimate.hpp:23
Index dofs
unknowns of the factorised system (after condensation)
Definition memory_estimate.hpp:22
std::size_t factor_bytes
the factors with the backend's index overhead
Definition memory_estimate.hpp:26
std::size_t total_bytes
matrix_bytes + factor_bytes
Definition memory_estimate.hpp:27
Index factor_entries
entries of the factors (L + U, or L of the LDLáµ path)
Definition memory_estimate.hpp:24
std::string describe() const
std::size_t matrix_bytes
system matrix plus the assembly triplets at their peak
Definition memory_estimate.hpp:25