Suspected memory leak
This commit is contained in:
parent
16e8cf4e07
commit
9be960a8c0
@ -309,14 +309,14 @@ class TriLinPoly{
|
||||
int ic,jc,kc;
|
||||
double a,b,c,d,e,f,g,h;
|
||||
double x,y,z;
|
||||
double C[8];
|
||||
public:
|
||||
DoubleArray Corners;
|
||||
|
||||
TriLinPoly(){
|
||||
Corners.New(2,2,2);
|
||||
}
|
||||
~TriLinPoly(){
|
||||
Corners.~DoubleArray();
|
||||
}
|
||||
double Corners(int i, int j, int k){
|
||||
return C[k*4+j*2+i];
|
||||
}
|
||||
// Assign the polynomial within a cube from a mesh
|
||||
void assign(DoubleArray &A, int i, int j, int k){
|
||||
|
Loading…
Reference in New Issue
Block a user