ViennaGrid for Python
 All Classes Files Functions Variables
Public Member Functions | List of all members
TriangularCartesian2D_Vertex_Field Class Reference

Field for triangular cartesian 2D vertices. More...

#include <triangular.hpp>

Public Member Functions

 TriangularCartesian2D_Vertex_Field (double default_value)
double get_value (TriangularCartesian2D_Vertex &vertex)
 Retrieve from the field the value corresponding to the given vertex.
void set_value (TriangularCartesian2D_Vertex &vertex, double new_value)
 Set the value corresponding to the given vertex.
TriangularCartesian2D_Vertex_Field_t & get_field ()

Detailed Description

Field for triangular cartesian 2D vertices.

Since
0.1.0

Member Function Documentation

double TriangularCartesian2D_Vertex_Field::get_value ( TriangularCartesian2D_Vertex vertex)

Retrieve from the field the value corresponding to the given vertex.

Parameters
vertex
Returns
double
Since
0.1.0
void TriangularCartesian2D_Vertex_Field::set_value ( TriangularCartesian2D_Vertex vertex,
double  new_value 
)

Set the value corresponding to the given vertex.

Parameters
cell
new_value
Since
0.1.0

The documentation for this class was generated from the following files: