v_list 39 data/sphere/level_set_test.cpp Vertices v_list = get_vertices(argv[1]); v_list 41 data/sphere/level_set_test.cpp std::valarray<double> lsf_values (v_list.size()); v_list 42 data/sphere/level_set_test.cpp for(size_t it = 0; it < v_list.size(); ++it) v_list 43 data/sphere/level_set_test.cpp lsf_values[it] = level_set_function(v_list[it]); v_list 50 data/sphere/level_set_test.cpp std::cout << "Mean value: " << lsf_values.sum() / v_list.size() << std::endl; v_list 54 data/sphere/level_set_test.cpp if(v_list.size() % 2) v_list 55 data/sphere/level_set_test.cpp std::cout << lsf_values[ v_list.size()/2 ]; v_list 57 data/sphere/level_set_test.cpp std::cout << (lsf_values[ v_list.size()/2 - 1 ] + lsf_values[ v_list.size()/2])/2;