Reference documentation for deal.II version 9.5.0
\(\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 <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< T >::value, std::size_t > MemoryConsumption::memory_consumption (const T &t)
 
template<typename T >
std::enable_if_t<!(std::is_fundamental< T >::value||std::is_pointer< T >::value), 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 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 > &)