[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Getfem-users] new non linear operator in high-level assembly
From: |
Yves Renard |
Subject: |
Re: [Getfem-users] new non linear operator in high-level assembly |
Date: |
Sun, 13 Apr 2014 12:07:11 +0200 (CEST) |
Dear Wen,
The method result_size control the size of the arguments at compile time and
gives the size of the result.
"const arg_list &args" is the argument list and "bgeot::multi_index sizes" have
to contain the size of the result
You can see several examples at the end of
getfem/src/getfem_nonlinear_elasticity.cc and in
getfem/src/getfem_generic_assembly.cc.
For the moment, the only way to add a new nonlinear operator is the way used at
the end of getfem/src/getfem_nonlinear_elasticity.cc but may be I will add a
more user friendly function.
Yves.
----- Original Message -----
From: "Wen Jiang" <address@hidden>
To: address@hidden
Sent: Friday, April 11, 2014 5:52:03 AM
Subject: [Getfem-users] new non linear operator in high-level assembly .
Dear all,
Could anyone tell me how to define new nonlinear operators in high-level
assembly?
what does this function do?
bool result_size( const arg_list &args, bgeot::multi_index &sizes)
and what do those two parameters in this function mean?
Thanks.
Regards,
Wen
_______________________________________________
Getfem-users mailing list
address@hidden
https://mail.gna.org/listinfo/getfem-users