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

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

#include <linear.hpp>

Public Member Functions

 LinearCartesian1D_Cell_Field (double default_value)
double get_value (LinearCartesian1D_Cell &cell)
 Retrieve from the field the value correspponding to the given cell.
void set_value (LinearCartesian1D_Cell &cell, double new_value)
 Set the value corresponding to the given cell.
LinearCartesian1D_Cell_Field_t & get_field ()

Detailed Description

Field for linear cartesian 1D cells.

Since
0.1.0

Member Function Documentation

double LinearCartesian1D_Cell_Field::get_value ( LinearCartesian1D_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 LinearCartesian1D_Cell_Field::set_value ( LinearCartesian1D_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: