|
std::string | Utilities::dealii_version_string () |
|
template<int dim, typename Number > |
std::vector< std::array< std::uint64_t, dim > > | Utilities::inverse_Hilbert_space_filling_curve (const std::vector< Point< dim, Number > > &points, const int bits_per_dim=64) |
|
template<int dim> |
std::vector< std::array< std::uint64_t, dim > > | Utilities::inverse_Hilbert_space_filling_curve (const std::vector< std::array< std::uint64_t, dim > > &points, const int bits_per_dim=64) |
|
template<int dim> |
std::uint64_t | Utilities::pack_integers (const std::array< std::uint64_t, dim > &index, const int bits_per_dim) |
|
std::string | Utilities::compress (const std::string &input) |
|
std::string | Utilities::decompress (const std::string &compressed_input) |
|
std::string | Utilities::encode_base64 (const std::vector< unsigned char > &binary_input) |
|
std::vector< unsigned char > | Utilities::decode_base64 (const std::string &base64_input) |
|
std::string | Utilities::int_to_string (const unsigned int value, const unsigned int digits=numbers::invalid_unsigned_int) |
|
template<typename number > |
std::string | Utilities::to_string (const number value, const unsigned int digits=numbers::invalid_unsigned_int) |
|
unsigned int | Utilities::needed_digits (const unsigned int max_number) |
|
template<typename Number > |
Number | Utilities::truncate_to_n_digits (const Number number, const unsigned int n_digits) |
|
int | Utilities::string_to_int (const std::string &s) |
|
std::string | Utilities::dim_string (const int dim, const int spacedim) |
|
std::vector< int > | Utilities::string_to_int (const std::vector< std::string > &s) |
|
double | Utilities::string_to_double (const std::string &s) |
|
std::vector< double > | Utilities::string_to_double (const std::vector< std::string > &s) |
|
std::vector< std::string > | Utilities::split_string_list (const std::string &s, const std::string &delimiter=",") |
|
std::vector< std::string > | Utilities::split_string_list (const std::string &s, const char delimiter) |
|
std::vector< std::string > | Utilities::break_text_into_lines (const std::string &original_text, const unsigned int width, const char delimiter=' ') |
|
bool | Utilities::match_at_string_start (const std::string &name, const std::string &pattern) |
|
std::pair< int, unsigned int > | Utilities::get_integer_at_position (const std::string &name, const unsigned int position) |
|
std::string | Utilities::replace_in_string (const std::string &input, const std::string &from, const std::string &to) |
|
std::string | Utilities::trim (const std::string &input) |
|
double | Utilities::generate_normal_random_number (const double a, const double sigma) |
|
template<class T > |
std::string | Utilities::type_to_string (const T &t) |
|
template<int N, typename T > |
T | Utilities::fixed_power (const T t) |
|
template<typename T > |
constexpr T | Utilities::pow (const T base, const int iexp) |
|
template<typename Iterator , typename T > |
Iterator | Utilities::lower_bound (Iterator first, Iterator last, const T &val) |
|
template<typename Iterator , typename T , typename Comp > |
Iterator | Utilities::lower_bound (Iterator first, Iterator last, const T &val, const Comp comp) |
|
template<typename Integer > |
std::vector< Integer > | Utilities::reverse_permutation (const std::vector< Integer > &permutation) |
|
template<typename Integer > |
std::vector< Integer > | Utilities::invert_permutation (const std::vector< Integer > &permutation) |
|
template<typename T > |
size_t | Utilities::pack (const T &object, std::vector< char > &dest_buffer, const bool allow_compression=true) |
|
template<typename T > |
std::vector< char > | Utilities::pack (const T &object, const bool allow_compression=true) |
|
template<typename T > |
T | Utilities::unpack (const std::vector< char > &buffer, const bool allow_compression=true) |
|
template<typename T > |
T | Utilities::unpack (const std::vector< char >::const_iterator &cbegin, const std::vector< char >::const_iterator &cend, const bool allow_compression=true) |
|
template<typename T , int N> |
void | Utilities::unpack (const std::vector< char > &buffer, T(&unpacked_object)[N], const bool allow_compression=true) |
|
template<typename T , int N> |
void | Utilities::unpack (const std::vector< char >::const_iterator &cbegin, const std::vector< char >::const_iterator &cend, T(&unpacked_object)[N], const bool allow_compression=true) |
|
bool | Utilities::get_bit (const unsigned char number, const unsigned int n) |
|
void | Utilities::set_bit (unsigned char &number, const unsigned int n, const bool x) |
|
template<typename To , typename From > |
std::unique_ptr< To > | Utilities::dynamic_unique_cast (std::unique_ptr< From > &&p) |
|
template<typename T > |
T & | Utilities::get_underlying_value (T &p) |
|
template<typename T > |
T & | Utilities::get_underlying_value (std::shared_ptr< T > &p) |
|
template<typename T > |
T & | Utilities::get_underlying_value (const std::shared_ptr< T > &p) |
|
template<typename T > |
T & | Utilities::get_underlying_value (std::unique_ptr< T > &p) |
|
template<typename T > |
T & | Utilities::get_underlying_value (const std::unique_ptr< T > &p) |
|
double | Utilities::System::get_cpu_load () |
|
const std::string | Utilities::System::get_current_vectorization_level () |
|
void | Utilities::System::get_memory_stats (MemoryStats &stats) |
|
std::string | Utilities::System::get_hostname () |
|
std::string | Utilities::System::get_time () |
|
std::string | Utilities::System::get_date () |
|
void | Utilities::System::posix_memalign (void **memptr, std::size_t alignment, std::size_t size) |
|
template<typename T > |
void | Utilities::internal::append_vector_of_trivially_copyable_to_buffer (const T &, std::vector< char > &) |
|
template<typename T , typename = std::enable_if_t<!std::is_same<T, bool>::value && std::is_trivially_copyable<T>::value>> |
void | Utilities::internal::append_vector_of_trivially_copyable_to_buffer (const std::vector< T > &object, std::vector< char > &dest_buffer) |
|
template<typename T , typename = std::enable_if_t<!std::is_same<T, bool>::value && std::is_trivially_copyable<T>::value>> |
void | Utilities::internal::append_vector_of_trivially_copyable_to_buffer (const std::vector< std::vector< T > > &object, std::vector< char > &dest_buffer) |
|
template<typename T > |
void | Utilities::internal::create_vector_of_trivially_copyable_from_buffer (const std::vector< char >::const_iterator &, const std::vector< char >::const_iterator &, T &) |
|
template<typename T , typename = std::enable_if_t<!std::is_same<T, bool>::value && std::is_trivially_copyable<T>::value>> |
void | Utilities::internal::create_vector_of_trivially_copyable_from_buffer (const std::vector< char >::const_iterator &cbegin, const std::vector< char >::const_iterator &cend, std::vector< T > &object) |
|
template<typename T , typename = std::enable_if_t<!std::is_same<T, bool>::value && std::is_trivially_copyable<T>::value>> |
void | Utilities::internal::create_vector_of_trivially_copyable_from_buffer (const std::vector< char >::const_iterator &cbegin, const std::vector< char >::const_iterator &cend, std::vector< std::vector< T > > &object) |
|