ViennaSHE 1.3.0
Free open-source semiconductor device simulator using spherical harmonics expansions techniques.
viennashe::io::detail Namespace Reference

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

Classes

class  container_accessor
 
struct  mesh_generator_vtk
 
class  viennagrid_accessor_wrapper
 A wrapper for the accessor in viennashe, in order for them to be suitable for viennagrid. More...
 

Functions

template<typename MacroscopicQuantityAccessor , typename WriterType >
void 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 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 QuantityType , typename DeviceType >
void write_quantity_to_VTK_file (QuantityType const &quantity, DeviceType const &device, std::string filename, std::string name_in_file, viennagrid::vertex_tag)
 
template<typename QuantityType , typename DeviceType , typename Tag >
void write_quantity_to_VTK_file (QuantityType const &quantity, DeviceType const &device, std::string filename, std::string name_in_file, Tag)
 
template<typename KeyType , typename ValueType , typename ContainerType >
container_accessor< ContainerType, KeyType, ValueType > make_accessor (ContainerType const &c)
 

Detailed Description

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

Function Documentation

◆ add_macroscopic_quantity_to_writer_impl() [1/2]

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.

Parameters
quantityAn accessor to the quantity
writerThe writer, e.g. vtk writer
nameThe name of the quantity
dummyDo not touch! This is a tag.

Definition at line 90 of file add_to_writer.hpp.

◆ add_macroscopic_quantity_to_writer_impl() [2/2]

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.

Parameters
quantityAn accessor to the quantity
writerThe writer, e.g. vtk writer
nameThe name of the quantity
dummyDo not touch! This is a tag.

Definition at line 110 of file add_to_writer.hpp.

◆ make_accessor()

template<typename KeyType , typename ValueType , typename ContainerType >
container_accessor< ContainerType, KeyType, ValueType > viennashe::io::detail::make_accessor ( ContainerType const &  c)

Definition at line 859 of file she_vtk_writer.hpp.

◆ write_quantity_to_VTK_file() [1/2]

template<typename QuantityType , typename DeviceType , typename Tag >
void viennashe::io::detail::write_quantity_to_VTK_file ( QuantityType const &  quantity,
DeviceType const &  device,
std::string  filename,
std::string  name_in_file,
Tag   
)

Definition at line 808 of file she_vtk_writer.hpp.

◆ write_quantity_to_VTK_file() [2/2]

template<typename QuantityType , typename DeviceType >
void viennashe::io::detail::write_quantity_to_VTK_file ( QuantityType const &  quantity,
DeviceType const &  device,
std::string  filename,
std::string  name_in_file,
viennagrid::vertex_tag   
)

Definition at line 796 of file she_vtk_writer.hpp.