init_cl_cpp function

Initialize the nodes vector