Reference documentation for deal.II version GIT relicensing-767-g85e8698264 2024-05-26 14:00:02+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
Namespaces | Functions
memory_consumption.h File Reference
#include <deal.II/base/config.h>
#include <array>
#include <complex>
#include <cstddef>
#include <cstring>
#include <memory>
#include <optional>
#include <string>
#include <type_traits>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  MemoryConsumption
 

Functions

template<typename T >
std::enable_if_t< std::is_fundamental_v< T >, std::size_t > MemoryConsumption::memory_consumption (const T &t)
 
template<typename T >
std::enable_if_t<!(std::is_fundamental_v< T >||std::is_pointer_v< T >), std::size_t > MemoryConsumption::memory_consumption (const T &t)
 
std::size_t MemoryConsumption::memory_consumption (const char *string)
 
template<typename T >
std::size_t MemoryConsumption::memory_consumption (const std::complex< T > &)
 
template<typename T , std::size_t width>
std::size_t MemoryConsumption::memory_consumption (const VectorizedArray< T, width > &)
 
std::size_t MemoryConsumption::memory_consumption (const std::string &s)
 
template<typename T >
std::size_t MemoryConsumption::memory_consumption (const std::vector< T > &v)
 
template<typename T , std::size_t N>
std::size_t MemoryConsumption::memory_consumption (const std::array< T, N > &v)
 
template<typename T , int N>
std::size_t MemoryConsumption::memory_consumption (const T(&v)[N])
 
std::size_t MemoryConsumption::memory_consumption (const std::vector< bool > &v)
 
template<typename A , typename B >
std::size_t MemoryConsumption::memory_consumption (const std::pair< A, B > &p)
 
template<typename A >
std::size_t MemoryConsumption::memory_consumption (const std::optional< A > &o)
 
template<typename T >
std::size_t MemoryConsumption::memory_consumption (const T *const)
 
template<typename T >
std::size_t MemoryConsumption::memory_consumption (const std::shared_ptr< T > &)
 
template<typename T >
std::size_t MemoryConsumption::memory_consumption (const std::unique_ptr< T > &)