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

📝 updated compliance and mass matrix format

parent 76e6369e
1
0.0
5.64971751e-07 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00
0.00000000e+00 5.64971751e-07 0.00000000e+00 0.00000000e+00 0.00000000e+00 0.00000000e+00
0.00000000e+00 0.00000000e+00 5.64971751e-07 0.00000000e+00 0.00000000e+00 0.00000000e+00
......
[Beam]
analysis_flag = 2
nkp = 11
niter = 1
niter = 1000
nstep = 10
ncond_pt = 2
nframe = 0
......
1
0.0
5.49178763e-10 -1.67119587e-11 -1.31517283e-11 8.30682986e-10 4.17793986e-10 5.76023831e-10
-1.67119587e-11 2.37592756e-09 2.86397280e-10 -4.44996430e-11 -1.87665262e-09 3.46902150e-11
-1.31517283e-11 2.86397280e-10 3.65937383e-08 7.59886140e-10 8.43481577e-10 3.53846314e-10
......
1
0.0
258.053 0.0 0.0 0.0 7.07839 -71.6871
0.0 258.053 0.0 -7.07839 0.0 0.0
0.0 0.0 258.053 71.6871 0.0 0.0
......
......@@ -31,6 +31,7 @@ int main(int argc, char* argv[])
}
loads[bm->nmemb-1] = atof(argv[1]);
beam_setLoads(bm,loads,2);
free(loads);
printf("...Done!\n");
char fname[32];
......@@ -46,6 +47,9 @@ int main(int argc, char* argv[])
beam_writeSolToFile(bm,fname);
printf("... Ok! \n");
}
freeBeam(bm);
free(bm);
return EXIT_SUCCESS;
}
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