Class for spatial interpolations. More...
#include <computational_cell_2d.hpp>
Public Member Functions | |
Slope (ComputationalCell const &x, ComputationalCell const &y) | |
Class constructor. More... | |
Slope (void) | |
Default constructor. | |
size_t | getChunkSize (void) const |
Returns the size of array needed to store all data. More... | |
vector< double > | serialize (void) const |
Convert an object to an array of numbers. More... | |
void | unserialize (const vector< double > &data) |
Convert an array of numbers to an object. More... | |
![]() | |
virtual | ~Serializable (void) |
Class destructor. | |
Public Attributes | |
ComputationalCell | xderivative |
Slope in the x direction. | |
ComputationalCell | yderivative |
Slope in the y direction. | |
Class for spatial interpolations.
Definition at line 130 of file computational_cell_2d.hpp.
Slope::Slope | ( | ComputationalCell const & | x, |
ComputationalCell const & | y | ||
) |
Class constructor.
x | The x derivative |
y | The y derivative |
Definition at line 147 of file computational_cell_2d.cpp.
|
virtual |
Returns the size of array needed to store all data.
Implements Serializable.
Definition at line 210 of file computational_cell_2d.cpp.
|
virtual |
Convert an object to an array of numbers.
Implements Serializable.
Definition at line 215 of file computational_cell_2d.cpp.
|
virtual |
Convert an array of numbers to an object.
data | List of numbers |
Implements Serializable.
Definition at line 225 of file computational_cell_2d.cpp.