lattice
integer function get_nconnect_max(this) class(lattice) :: this get_nconnect_max = this%n_connect_max end function get_nconnect_max