Field for linear cartesian 1D vertices. More...
#include <linear.hpp>
Public Member Functions | |
LinearCartesian1D_Vertex_Field (double default_value) | |
double | get_value (LinearCartesian1D_Vertex &vertex) |
Retrieve from the field the value corresponding to the given vertex. | |
void | set_value (LinearCartesian1D_Vertex &vertex, double new_value) |
Set the value corresponding to the given vertex. | |
LinearCartesian1D_Vertex_Field_t & | get_field () |
Field for linear cartesian 1D vertices.
double LinearCartesian1D_Vertex_Field::get_value | ( | LinearCartesian1D_Vertex & | vertex | ) |
Retrieve from the field the value corresponding to the given vertex.
vertex |
void LinearCartesian1D_Vertex_Field::set_value | ( | LinearCartesian1D_Vertex & | vertex, |
double | new_value | ||
) |
Set the value corresponding to the given vertex.
cell | |
new_value |