mptensor v0.6.0
Parallel Library for Tensor Network Methods
Loading...
Searching...
No Matches
file_io_common.hpp File Reference
#include <cstddef>
#include <iomanip>
#include <sstream>
#include <string>
#include <mptensor/mptensor.hpp>
#include "tensor_types.hpp"
Include dependency graph for file_io_common.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  mptensor_test
 

Typedefs

using mptensor_test::LocalTensorD = Tensor< lapack::Matrix< double > >
 Non-distributed tensor types (always LAPACK).
 
using mptensor_test::LocalTensorC = Tensor< lapack::Matrix< complex > >
 

Functions

template<typename TensorType >
TensorType mptensor_test::make_initial_tensor ()
 
std::string mptensor_test::data_filename (const std::string &prefix, int proc_size)
 "<prefix>_mpi000N" (same names as legacy).
 
std::string mptensor_test::binary_filename (const std::string &base, int rank)
 Per-rank binary file written by Tensor::save: "<base>.NNNN.bin".
 

Variables

constexpr std::size_t mptensor_test::kFileIoN = 6