Fix_ave_spatial

I was trying to comprehend the code in relation to fix_ave_spatial. I could not find in which file is the "fix_ave_spatial" being called and subsequently where is the function "setup()" (mentioned inside fix_ave_spatial.cpp) being called.
I would appreciate any help in regard to this.

Thank you.
BR/Joseph

The setup() of all fixes is called from verlet::setup()

Steve

I was trying to comprehend the code in relation to fix_ave_spatial. I
could not find in which file is the "fix_ave_spatial" being called and
subsequently where is the function "setup()" (mentioned inside
fix_ave_spatial.cpp) being called.
I would appreciate any help in regard to this.

please note, that you won't find any explicit calls to any
functions of any modules like fixes in lammps. in all those
cases the class is explicitly on referenced when it is created
as a result of a script command and that part of the code
is "hidden" through some preprocessing macros.
in the rest of the code (except inside of the class) those fix
classes are accessed via the API the base class defines.

cheers,
    axel.