If else statement for void FixWallGran::post_force_primitive(int vflag)
Hello,
I am debugging a segmentation fault error and have narrowed it down to when the function post_force_primitive calls the function vectorZeroizeN at line number 1104 in the file fix_wall_gran.cpp
My main question is, "what does this else statement do?".
if(deltan <= 0 || deltan < contactDistanceMultiplier*radius[iPart]){
stuff
}
else{
if(c_history){
vectorZeroizeN(c_history[iPart],dnum_);
}
}
Is there a way to check if c_history[iPart][i] exists?
Thank you!