Skip to content
Snippets Groups Projects
Commit 82206d1d authored by Podhorszki, Norbert's avatar Podhorszki, Norbert
Browse files

added missing member function T(i,j) to HeatTransfer.h

parent e6f07398
No related branches found
No related tags found
1 merge request!8Integrate groupless
......@@ -23,6 +23,8 @@ public:
void heatEdges(); // reset the heat values at the global edge
void exchange( MPI_Comm comm ); // send updates to neighbors
// return a single value at index i,j. 0 <= i <= ndx+2, 0 <= j <= ndy+2
double T( int i, int j) {return m_TCurrent[i][j];};
// return (1D) pointer to current T data, ndx+2 * ndy+2 elements
const double *data() {return m_TCurrent[0];};
// return (1D) pointer to current T data without ghost cells, ndx*ndy elements
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment