I have been reading a code and I am confused about a line in the code: Here is part of the code:
class mom_set
{
public:
int nm;
int *mom_ind,*mode_off,*mode_count,**mode;
int n_mom,n_eff;
int order;
.......
.....
mom_set(int nm0=9):nm(nm0)
{ mom_ind=new int[(nm*2+1)*(nm*2+1)*(nm*2+1)];
mode_off=new int[3*nm*nm+1];
mode=new int*[3*nm*nm+1];
mode_count=new int[3*nm*nm+1];
clear();}
......
.....
};
I am not sure how to interpret this line "mom_set(int nm0=9):nm(nm0)" . Could you please explain?