Computes the electric field from a potential. More...
#include <iostream>#include <fstream>#include <vector>#include "viennagrid/mesh/mesh.hpp"#include "viennagrid/algorithm/volume.hpp"#include "viennagrid/algorithm/inner_prod.hpp"#include "viennashe/physics/constants.hpp"#include "viennashe/physics/physics.hpp"#include "viennashe/materials/all.hpp"#include "viennashe/util/checks.hpp"#include "viennashe/util/misc.hpp"#include "viennashe/log/log.hpp"#include "viennashe/util/dual_box_flux.hpp"#include "viennashe/she/postproc/macroscopic.hpp"Go to the source code of this file.
Classes | |
| struct | viennashe::detail::electric_field_on_facet< DeviceType, PotentialAccessorType > |
| An accessor to the electric field along a given edge. Electrostatic potential required. More... | |
| struct | viennashe::electric_field_wrapper< DeviceType, PotentialAccessorType > |
| An accessor to the electric field on vertices and edges. Potential requiered. More... | |
Namespaces | |
| namespace | viennashe |
| The main ViennaSHE namespace. All functionality resides inside this namespace. | |
| namespace | viennashe::detail |
| Namespace for implementation details. Typically not of interest for the library user. | |
Functions | |
| template<typename DeviceType , typename PotentialAccessor , typename ContainerType > | |
| void | viennashe::write_electric_field_to_container (DeviceType const &device, PotentialAccessor const &potential, ContainerType &container) |
| Convenience function for writing the electric field to a container. More... | |
Computes the electric field from a potential.
Definition in file electric_field.hpp.