dutitello / paransys2

A Python module that allows you to run ANSYS APDL scripts setting selected parameters values by Python, and returning the values of all parameters in the end of the analysis.
https://dutitello.github.io/paransys2/
MIT License
1 stars 0 forks source link

grad evaluation #3

Open dutitello opened 4 years ago

dutitello commented 4 years ago

It will be determined by finite difference method. Forward, central and backward methods at first.

dutitello commented 4 years ago

It's partially done!

dutitello commented 4 years ago

Arrays and tables are for now out. grad looks ok!

dutitello commented 4 years ago

the name of the function is now derivatives! Since grad(f(X)) are the derivatives of f(X) for all X variables the output should be an dictionary for each output parameter (f) and each dictionary should have it's derivatives.

dutitello commented 4 years ago

I used for central diference method h/2 steps... but it's a good ideia for numerical evaluations... It need to be always h...