Commit ee8f50c4 authored by François Trigaux's avatar François Trigaux
Browse files

🐛 corrected twist vector size

parent a3383137
......@@ -547,7 +547,7 @@ void beam_setTwistFromFile(Beam *bm, char *fname)
// Open the file containing the mass matrices if dynamic analysis
FILE *fid = fopen("Twist.dat","r");
if (fid==NULL)
{printf("Unable to read mass matrix file for dynamic analysis\n"); exit(EXIT_FAILURE);}
{printf("Unable to read twist file to set the twist for the blade\n"); exit(EXIT_FAILURE);}
// fill the vectors for interpolation
READ1(fid,np,%d);
......@@ -560,7 +560,7 @@ void beam_setTwistFromFile(Beam *bm, char *fname)
}
ALLOCATE1(twist,double,bm->nmemb);
ALLOCATE1(twist,double,bm->nkp);
for (k=0;k<bm->nkp;k++)
{
......
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 to comment