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

new function to get the beam loads

parent 23a434a0
......@@ -838,6 +838,15 @@ void gebt_setLoads(Gebt *bm, double *loads, int load_no)
}
}
void gebt_getLoads(Gebt *bm, double *loads, int load_no)
{
int i;
for(i=0;i<bm->ncond_mb;i++)
{
loads[i] = bm->mb_condition[i].value[load_no] = loads[i];
}
}
void gebt_setEndLoad(Gebt *bm, double loads, int load_no)
{
int i;
......
......@@ -158,6 +158,7 @@ void gebt_setTwistFromFile(Gebt *bm, char *fname);
void gebt_setLoads(Gebt *bm, double *loads, int load_no);
void gebt_setEndLoad(Gebt *bm, double loads, int load_no);
void gebt_getLoads(Gebt *bm, double *loads, int load_no);
void gebt_analysis(Gebt *bm);
......
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