[C++] problème dans une équation
j'ai en fait un problème lors de debuger mon programme et c'est dans cette fonction ou il se trouve le problème, mais quand je fais un Build pour mon programme il y 0 erreur, donc si quelqu'un pourra m'aider à trouver ce problème dans cet méthode:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| void AccumulateLaplacian()//X+Lambdadt*Laplacian
{
double X[3],Lambdadt=10;
this->AllocateTable();//ici je fais un appel à la méthode qui me fait l'allocation des tableaux TablePoints,TableLaplacian,Accumulate
for (int i=0; i<this->Input->GetNumberOfPoints(); i++)
{
X[0]=TablePoints[i][0];
X[1]=TablePoints[i][1];
X[2]=TablePoints[i][2];
this->ComputeLaplacian();//je fais un appel à la méthode qui me fais le calcul de laplacienne
}
Accumulate[i][0]=X[0]+Lambdadt*TableLaplacian[i][0];//et c'est ici ou il se trouve mon problème
Accumulate[i][1]=X[1]+Lambdadt*TableLaplacian[i][1];//c'est une équation qui fait X[0]+Lambdadt*L(X)
Accumulate[i][2]=X[2]+Lambdadt*TableLaplacian[i][2];//et je mets le résultat dans un tableau
} |
merci en avance pour vos réponses