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

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

#include <triangular.hpp>

Public Member Functions

 TriangularCartesian2D_Cell_Field (double default_value)
double get_value (TriangularCartesian2D_Cell &cell)
 Retrieve from the field the value correspponding to the given cell.
void set_value (TriangularCartesian2D_Cell &cell, double new_value)
 Set the value corresponding to the given cell.
TriangularCartesian2D_Cell_Field_t & get_field ()

Detailed Description

Field for triangular cartesian 2D cells.

Since
0.1.0

Member Function Documentation

double TriangularCartesian2D_Cell_Field::get_value ( TriangularCartesian2D_Cell cell)

Retrieve from the field the value correspponding to the given cell.

Parameters
cell
Returns
the value associated to the cell
Since
0.1.0
void TriangularCartesian2D_Cell_Field::set_value ( TriangularCartesian2D_Cell cell,
double  new_value 
)

Set the value corresponding to the given cell.

Parameters
cell
new_value
Since
0.1.0

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