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

Convenience functions for viennagrid::io (mostly adders) More...

#include <string>
#include <vector>
#include "viennashe/forwards.h"
#include "viennashe/postproc/current_density.hpp"
#include "viennashe/postproc/electric_field.hpp"
#include "viennashe/she/postproc/all.hpp"

Go to the source code of this file.

Classes

class  viennashe::io::detail::viennagrid_accessor_wrapper< AccessorT, ValueT >
 A wrapper for the accessor in viennashe, in order for them to be suitable for viennagrid. More...
 

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 MacroscopicQuantityAccessor , typename WriterType >
void viennashe::io::detail::add_macroscopic_quantity_to_writer_impl (MacroscopicQuantityAccessor const &quantity, WriterType &writer, std::string name, double *dummy=0)
 Implementation of the quantity addition to a writer for single valued quantities. More...
 
template<typename MacroscopicQuantityAccessor , typename WriterType >
void viennashe::io::detail::add_macroscopic_quantity_to_writer_impl (MacroscopicQuantityAccessor const &quantity, WriterType &writer, std::string name, std::vector< double > *dummy=0)
 Implementation of the quantity addition to a writer for vector valued quantities. More...
 
template<typename MacroscopicQuantityAccessor , typename WriterType >
void viennashe::io::add_macroscopic_quantity_to_writer (MacroscopicQuantityAccessor const &quantity, WriterType &writer, std::string name)
 Adds a quantity to a writer. More...
 
template<typename PotentialAccessor , typename WriterType >
void viennashe::io::add_potential_to_writer (PotentialAccessor const &pot, WriterType &writer, std::string name)
 Special free function to add the potential to a writer. More...
 
template<typename DeviceType , typename SHEQuantity , typename WriterType >
void viennashe::io::add_current_density_to_writer (DeviceType const &device, viennashe::config const &conf, SHEQuantity const &quan, WriterType &writer, std::string name)
 Special free function to add the current density - calculated from a solution of the BTE - to a writer. More...
 
template<typename DeviceType , typename PotentialQuantityType , typename CarrierQuantityType , typename MobilityModel , typename WriterType >
void viennashe::io::add_current_density_to_writer (DeviceType const &device, PotentialQuantityType const &potential, CarrierQuantityType const &carrier, viennashe::carrier_type_id ctype, MobilityModel const &mobility_model, WriterType &writer, std::string name)
 Special free function to add the current density - calculated from DD - to a writer. More...
 
template<typename SHEQuantity , typename WriterType >
void viennashe::io::add_kinetic_carrier_energy_to_writer (viennashe::config const &conf, SHEQuantity const &quan, WriterType &writer, std::string name)
 Free function to add the average carrier energy to a writer. More...
 

Detailed Description

Convenience functions for viennagrid::io (mostly adders)

Definition in file add_to_writer.hpp.