Useful functions folder¶
The folder USEFUL_FUNCTIONS
contains several functions used in the computation:
create_empty_mds
: Define an emptymds
.harmonicDecomposition
: Used in the point display method to visualize the harmonic content at a given point of the MANLAB diagram.animate_solution
: Used in the point display method to animate the mesh at a given point of the MANLAB diagram.man_residual_fixed_amplitude
: Residual used in the initialization.man_residual_fixed_frequency
: Residual used in the initialization.plot_deformed_mesh
: Same as inmodel.plot_deformed_mesh
, for convenience.
In addition, a tool function set_src_path_for_NL_2D_FEM
is provided to set the Matlab path.
It has to be run from the NonLinearFEM
folder, before running any example or computations.