#include <simulator_quantity.hpp>
Public Types | |
typedef unknown_quantity< AssociatedT, ValueT > | self_type |
typedef ValueT | value_type |
typedef AssociatedT | associated_type |
typedef robin_boundary_coefficients< ValueT > | robin_boundary_type |
Public Member Functions | |
unknown_quantity () | |
unknown_quantity (std::string const &quan_name, equation_id quan_equation, std::size_t num_values, value_type default_value=value_type()) | |
unknown_quantity (self_type const &o) | |
void | operator= (self_type const &o) |
std::string | get_name () const |
equation_id | get_equation () const |
ValueT | get_value (associated_type const &elem) const |
ValueT | at (associated_type const &elem) const |
ValueT | operator() (associated_type const &elem) const |
void | set_value (associated_type const &elem, ValueT value) |
void | set_value (associated_type const &elem, robin_boundary_type value) |
ValueT | get_boundary_value (associated_type const &elem) const |
void | set_boundary_value (associated_type const &elem, ValueT value) |
robin_boundary_type | get_boundary_values (associated_type const &elem) const |
Returns the coefficients alpha and beta for the Robin boundary condition du/dn = beta - alpha u. More... | |
void | set_boundary_value (associated_type const &elem, robin_boundary_type const &values) |
Setter function for Robin boundary conditions. More... | |
boundary_type_id | get_boundary_type (associated_type const &elem) const |
void | set_boundary_type (associated_type const &elem, boundary_type_id value) |
bool | get_unknown_mask (associated_type const &elem) const |
void | set_unknown_mask (associated_type const &elem, bool value) |
long | get_unknown_index (associated_type const &elem) const |
void | set_unknown_index (associated_type const &elem, long value) |
std::size_t | get_unknown_num () const |
std::vector< ValueT > const & | values () const |
std::vector< boundary_type_id > const & | boundary_types () const |
std::vector< ValueT > const & | boundary_values () const |
std::vector< bool > const & | defined_but_unknown_mask () const |
std::vector< long > const & | unknowns_indices () const |
bool | get_logarithmic_damping () const |
void | set_logarithmic_damping (bool b) |
Definition at line 127 of file simulator_quantity.hpp.
typedef AssociatedT viennashe::unknown_quantity< AssociatedT, ValueT >::associated_type |
Definition at line 135 of file simulator_quantity.hpp.
typedef robin_boundary_coefficients<ValueT> viennashe::unknown_quantity< AssociatedT, ValueT >::robin_boundary_type |
Definition at line 136 of file simulator_quantity.hpp.
typedef unknown_quantity<AssociatedT, ValueT> viennashe::unknown_quantity< AssociatedT, ValueT >::self_type |
Definition at line 132 of file simulator_quantity.hpp.
typedef ValueT viennashe::unknown_quantity< AssociatedT, ValueT >::value_type |
Definition at line 134 of file simulator_quantity.hpp.
|
inline |
Definition at line 138 of file simulator_quantity.hpp.
|
inline |
Definition at line 140 of file simulator_quantity.hpp.
|
inline |
Definition at line 155 of file simulator_quantity.hpp.
|
inline |
Definition at line 185 of file simulator_quantity.hpp.
|
inline |
Definition at line 241 of file simulator_quantity.hpp.
|
inline |
Definition at line 242 of file simulator_quantity.hpp.
|
inline |
Definition at line 243 of file simulator_quantity.hpp.
|
inline |
Definition at line 219 of file simulator_quantity.hpp.
|
inline |
Definition at line 192 of file simulator_quantity.hpp.
|
inline |
Returns the coefficients alpha and beta for the Robin boundary condition du/dn = beta - alpha u.
Definition at line 201 of file simulator_quantity.hpp.
|
inline |
Definition at line 182 of file simulator_quantity.hpp.
|
inline |
Definition at line 247 of file simulator_quantity.hpp.
|
inline |
Definition at line 180 of file simulator_quantity.hpp.
|
inline |
Definition at line 225 of file simulator_quantity.hpp.
|
inline |
Definition at line 222 of file simulator_quantity.hpp.
|
inline |
Definition at line 228 of file simulator_quantity.hpp.
|
inline |
Definition at line 184 of file simulator_quantity.hpp.
|
inline |
Definition at line 186 of file simulator_quantity.hpp.
|
inline |
Definition at line 167 of file simulator_quantity.hpp.
|
inline |
Definition at line 220 of file simulator_quantity.hpp.
|
inline |
Setter function for Robin boundary conditions.
Note that this is an overload rather than a new function 'set_boundary_values' in order to have a uniform setter interface.
Definition at line 213 of file simulator_quantity.hpp.
|
inline |
Definition at line 193 of file simulator_quantity.hpp.
|
inline |
Definition at line 248 of file simulator_quantity.hpp.
|
inline |
Definition at line 226 of file simulator_quantity.hpp.
|
inline |
Definition at line 223 of file simulator_quantity.hpp.
|
inline |
Definition at line 189 of file simulator_quantity.hpp.
|
inline |
Definition at line 188 of file simulator_quantity.hpp.
|
inline |
Definition at line 244 of file simulator_quantity.hpp.
|
inline |
Definition at line 240 of file simulator_quantity.hpp.