ViennaSHE 1.3.0
Free open-source semiconductor device simulator using spherical harmonics expansions techniques.
vector.hpp File Reference

Simple routines for reading a vector from file, or writing a vector to file. More...

#include <string>
#include <iostream>
#include <fstream>
#include "viennashe/io/exception.hpp"

Go to the source code of this file.

Namespaces

namespace  viennashe
 The main ViennaSHE namespace. All functionality resides inside this namespace.
 
namespace  viennashe::io
 Namespace for all (file-)IO specific code

 

Functions

template<typename VectorType >
void viennashe::io::read_vector_from_file (VectorType &vec, const std::string &filename)
 Reads a vector from a file. More...
 
template<typename VectorType >
void viennashe::io::write_vector_to_file (VectorType &vec, const std::string &filename)
 Writes a vector to a file. More...
 

Detailed Description

Simple routines for reading a vector from file, or writing a vector to file.

Definition in file vector.hpp.