ViennaSHE 1.3.0
Free open-source semiconductor device simulator using spherical harmonics expansions techniques.
device_reader_vtk.hpp File Reference
#include <math.h>
#include <fstream>
#include <iostream>
#include "viennagrid/forwards.hpp"
#include "viennagrid/topology/simplex.hpp"
#include "viennagrid/io/vtk_reader.hpp"
#include "viennashe/forwards.h"
#include "viennashe/log/log.hpp"
#include "viennashe/physics/constants.hpp"
#include "viennashe/io/exception.hpp"
#include "viennashe/materials/all.hpp"

Go to the source code of this file.

Classes

struct  viennashe::io::detail::mesh_generator_vtk< MeshT >
 

Namespaces

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

 
namespace  viennashe::io::detail
 Namespace for implementation details within viennashe::io. Typically not of interest for a library user.
 

Functions

template<typename DeviceType >
bool viennashe::io::read_device_vtk (DeviceType &device, std::string filename, std::string doping_n_key, std::string doping_p_key, std::string material_key)
 Reads and initalises a device from a VTK file. If material_key is empty the material IDs will not be initalised! More...
 
template<typename DeviceT , typename SimulatorT >
bool viennashe::io::read_initial_guess_vtk (DeviceT const &device, SimulatorT &simulator, std::string filename, std::string quantity_name, std::string vtk_quantity_key)
 
template<typename DeviceType >
void viennashe::io::read_device_vtk (DeviceType &device, const std::string filename)
 Reads and initalises a device from a VTK file. Assumes that the doping and material can be found using "doping_n", "doping_p", "material". More...