Commit 5a065afd by Christophe Geuzaine

Merge branch 'master' of http://gitlab.onelab.info/getdp/getdp

parents eabbf176 02dcccf4
Showing with 3 additions and 3 deletions
......@@ -916,8 +916,8 @@ static void _nonlinearEVP(struct DofData * DofData_P, int numEigenValues,
,NumOperators,NumOperators);
for(int k=0;k<NumOperators;k++){
sprintf(str_coefsNum[k],"num%d(iw)=",k+1);
sprintf(str_coefsDen[k],"num%d(iw)=",k+1);
for(int i=0; i<CoefsSizes[k]; i++){
sprintf(str_coefsDen[k],"den%d(iw)=",k+1);
for(int i=0; i<CoefsSizes[k]-1; i++){
sprintf(str_buff," (%+.2e)*(iw)^%d +",
PetscRealPart(tabCoefsNum[k][i]),(CoefsSizes[k]-1-i));
strcat(str_coefsNum[k],str_buff);
......@@ -925,7 +925,7 @@ static void _nonlinearEVP(struct DofData * DofData_P, int numEigenValues,
sprintf(str_buff," (%+.2e)",
PetscRealPart(tabCoefsNum[k][CoefsSizes[k]-1]));
strcat(str_coefsNum[k],str_buff);
for(int i=0; i<CoefsSizes[k+6]; i++){
for(int i=0; i<CoefsSizes[k+6]-1; i++){
sprintf(str_buff," (%+.2e)*(iw)^%d +",
PetscRealPart(tabCoefsDen[k][i]),(CoefsSizes[k+6]-1-i));
strcat(str_coefsDen[k],str_buff);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment