I am trying to understand a Fortran code for an internship but I am a c++ programmer and I am stuck what this code bit does. can some one enlighten me?
real(kind=kind_real), pointer :: c(:,:,:) (I think this created a pointer to a matrix )
self%c => self%gfld3d(:,:,ioff+1:) (this is in the constructor of the class)
flds%c(ibx,iby,2:flds%nc*flds%nl:2) (this is a function that calls the c variable of the class but I don't understand how the parameters work and what does the colon operator do as a a parameter)