|
void | Update () |
|
void | Create_SL (Parameters_structure::SL_structure, Grid &grid, int numberOfIterations, double timeStep) |
|
| Matrix3D () |
| Default constructor. Do nothing. More...
|
|
| Matrix3D (const Matrix3D< double > &M) |
|
| Matrix3D (int size_x, int size_y, int size_z) |
|
| ~Matrix3D () |
|
void | AllocateMemory (int size_x, int size_y, int size_z) |
|
double ** | operator[] (int i) |
| Return the i-th pointer to 2d-array. Next [j][k] can be applied, so we have regular [i][j][k]. More...
|
|
double ** | operator[] (int i) const |
|
double & | operator() (int x, int y, int z) |
| Return the (x,y,z) value of matrix. More...
|
|
double & | Value (int x, int y, int z) |
| Return the (x,y,z) value of matrix. More...
|
|
Matrix3D< double > & | MatrixArray () |
| Return pointer to the instance of the class. More...
|
|
Matrix3D & | operator= (const Matrix3D< double > &M) |
|
Matrix3D & | operator= (const doubleVal) |
|
const Matrix3D & | operator+ () const |
|
Matrix3D | operator+ (const Matrix3D< double > &M) const |
|
const Matrix3D | operator- () const |
|
Matrix3D | operator- (const Matrix3D< double > &M) const |
|
Matrix3D & | operator+= (const Matrix3D< double > &M) |
|
Matrix3D & | operator+= (const doubleVal) |
| Add the Val to each matrix element, stores result in the matrix it's applied to. More...
|
|
Matrix3D & | operator-= (const Matrix3D< double > &M) |
|
Matrix3D & | operator-= (const doubleVal) |
| Substract the Val from each matrix element, stores result in the matrix it's applied to. More...
|
|
Matrix3D & | operator*= (const doubleVal) |
|
Matrix3D & | operator/= (const doubleVal) |
|
Matrix3D & | times_equal (const Matrix3D< double > &M) |
| Arraywise multiplication (A.*B), stores result in the matrix it's applied to. More...
|
|
Matrix3D & | divide_equal (const Matrix3D< double > &M) |
| Arraywise division (A./B), stores result in the matrix it's applied to. More...
|
|
Matrix3D | operator* (const doubleVal) const |
|
Matrix3D | operator/ (const doubleVal) const |
|
Matrix3D | times (const Matrix3D< double > &M) const |
| Arraywise multiplication (A.*B), stores result in a new matrix. More...
|
|
Matrix3D | divide (const Matrix3D< double > &M) const |
| Arraywise division (A./B), stores result in a new matrix. More...
|
|
void | writeToFile (string filename) |
| Save matrix to a file. More...
|
|
void | writeToFile (string filename, Matrix3D< double > &grid_x, Matrix3D< double > &grid_y, Matrix3D< double > &grid_z) |
| Save matrix to a file, including grid. More...
|
|
void | readFromFile (string filename) |
| Load matrix from a file. More...
|
|
void | readFromFile (string filename, Matrix3D< double > &grid_x, Matrix3D< double > &grid_y, Matrix3D< double > &grid_z) |
| Load matrix to a file. More...
|
|
int | index1d (int x, int y, int z) |
| Returns index of the element (x,y,z) in 1d array. More...
|
|
double | max () |
|
double | maxabs () |
|
Matrix3D< double > | abs () |
|
Matrix2D< double > | xSlice (int p_x) const |
|
Matrix2D< double > | ySlice (int p_y) const |
|
Matrix2D< double > | zSlice (int p_z) const |
|
- Todo:
- Move loss cone losses to the rest of the sources and losses
Definition at line 19 of file AdditionalSourcesAndLosses.h.