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

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

#include <linear.hpp>

Public Member Functions

 LinearCartesian2D_Cell_Field (double default_value)
double get_value (LinearCartesian2D_Cell &cell)
 Retrieve from the field the value correspponding to the given cell.
void set_value (LinearCartesian2D_Cell &cell, double new_value)
 Set the value corresponding to the given cell.
LinearCartesian2D_Cell_Field_t & get_field ()

Detailed Description

Field for linear cartesian 2D cells.

Since
0.1.0

Member Function Documentation

double LinearCartesian2D_Cell_Field::get_value ( LinearCartesian2D_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 LinearCartesian2D_Cell_Field::set_value ( LinearCartesian2D_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: