<commit_before>#include "common/common.h"
#include "common/input_output.h"
#include "common/parser.h"
#include "common/generation.h"
ChVector<> lpos(0, 0, 0);
ChQuaternion<> quat(1, 0, 0, 0);

//all dimensions are in millimeters, milligrams
real plate_height = -5;
real plate_thickness = .1;
real plate_radius =5;
real plate_friction = 1;

real particle_radius = .058 / 2.0;
real particle_std_dev = .015 / 2.0;
real particle_density = .93;
real particle_friction = 1;
real particle_rolling_friction = 1;
real particle_spinning_friction = 1;
real particle_cohesion = 0;
Vector particle_initial_vel = Vector(0, 0, 0);     //initial velocity

real container_width = plate_radius;
real container_thickness = .25;
real container_height = 1.0;
real wscale = 1;

real gravity = -9810;
real timestep = .00002;
real time_to_run = 6;
real current_time = 0;
int num_steps = time_to_run / timestep;

int particle_grid_x = 14;
int particle_grid_z = 14;

int particles_every = 90 * 4;     //add particles every n steps
int max_iteration = 100;
real tolerance = .001;

int particle_configuration = 0;
//0: single sphere
//1: two spheres joined together
//2: single ellipsoid

bool create_particle_plate = 1;
real particle_plate_dim = 6;
real plate_particle_radius = .075;
bool all_three_kinds = true;
GPUSOLVERTYPE solver = ACCELERATED_PROJECTED_GRADIENT_DESCENT;

string data_folder = "data";
real start_height = -1.5;
ParticleGenerator *layer_gen;

template<class T>
void RunTimeStep(T* mSys, const int frame) {
//&& frame * timestep < 5.5 && frame * timestep > .02<commit_msg>set iteration count to match new way of solving<commit_after>#include "common/common.h"
#include "common/input_output.h"
#include "common/parser.h"
#include "common/generation.h"
ChVector<> lpos(0, 0, 0);
ChQuaternion<> quat(1, 0, 0, 0);

//all dimensions are in millimeters, milligrams
real plate_height = -5;
real plate_thickness = .1;
real plate_radius =5;
real plate_friction = 1;

real particle_radius = .058 / 2.0;
real particle_std_dev = .015 / 2.0;
real particle_density = .93;
real particle_friction = 1;
real particle_rolling_friction = 1;
real particle_spinning_friction = 1;
real particle_cohesion = 0;
Vector particle_initial_vel = Vector(0, 0, 0);     //initial velocity

real container_width = plate_radius;
real container_thickness = .25;
real container_height = 1.0;
real wscale = 1;

real gravity = -9810;
real timestep = .00002;
real time_to_run = 6;
real current_time = 0;
int num_steps = time_to_run / timestep;

int particle_grid_x = 14;
int particle_grid_z = 14;

int particles_every = 90 * 4;     //add particles every n steps
int max_iteration = 150;
real tolerance = 0;

int particle_configuration = 0;
//0: single sphere
//1: two spheres joined together
//2: single ellipsoid

bool create_particle_plate = 1;
real particle_plate_dim = 6;
real plate_particle_radius = .075;
bool all_three_kinds = true;
GPUSOLVERTYPE solver = ACCELERATED_PROJECTED_GRADIENT_DESCENT;

string data_folder = "data";
real start_height = -1.5;
ParticleGenerator *layer_gen;

template<class T>
void RunTimeStep(T* mSys, const int frame) {
//&& frame * timestep < 5.5 && frame * timestep > .02
{'fraction_non_alphanumeric': 0.10604621715732827, 'fraction_numerical': 0.04621715732826844, 'mean_word_length': 4.8088235294117645, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '147901', 'n_tokens_mistral': 1221, 'n_tokens_neox': 1097, 'n_words': 337}