tgrain.c: fix indentation - granular - granular dynamics simulation | |
git clone git://src.adamsgaard.dk/granular | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 607fe3c83b742cd3a6c0d8574c973ec24a4ed991 | |
parent cb74224caf4111e964b0504df8e0ca6f7f6b5b2e | |
Author: Anders Damsgaard <[email protected]> | |
Date: Thu, 18 Mar 2021 11:33:10 +0100 | |
grain.c: fix indentation | |
Diffstat: | |
M grain.c | 52 ++++++++++++++++-------------… | |
1 file changed, 26 insertions(+), 26 deletions(-) | |
--- | |
diff --git a/grain.c b/grain.c | |
t@@ -138,32 +138,32 @@ grain_read(char *line) | |
"%lg\t%lg\t%lg\t" /* contact_stress */ | |
"%lg\t" /* thermal_energy */ | |
"%zu\n", /* color */ | |
- &g->radius, | |
- &g->pos[0], &g->pos[1], &g->pos[2], | |
- &g->vel[0], &g->vel[1], &g->vel[2], | |
- &g->acc[0], &g->acc[1], &g->acc[2], | |
- &g->force[0], &g->force[1], &g->force… | |
- &g->angpos[0], &g->angpos[1], &g->ang… | |
- &g->angvel[0], &g->angvel[1], &g->ang… | |
- &g->angacc[0], &g->angacc[1], &g->ang… | |
- &g->torque[0], &g->torque[1], &g->tor… | |
- &g->disp[0], &g->disp[1], &g->disp[2]… | |
- &g->forceext[0], &g->forceext[1], &g-… | |
- &g->density, | |
- &g->fixed, | |
- &g->rotating, | |
- &g->enabled, | |
- &g->youngs_modulus, | |
- &g->poissons_ratio, | |
- &g->friction_coeff, | |
- &g->tensile_strength, | |
- &g->shear_strength, | |
- &g->fracture_toughness, | |
- &g->gridpos[0], &g->gridpos[1], &g->g… | |
- &g->ncontacts, | |
- &g->contact_stress[0], &g->contact_st… | |
- &g->thermal_energy, | |
- &g->color) != 52) | |
+ &g->radius, | |
+ &g->pos[0], &g->pos[1], &g->pos[2], | |
+ &g->vel[0], &g->vel[1], &g->vel[2], | |
+ &g->acc[0], &g->acc[1], &g->acc[2], | |
+ &g->force[0], &g->force[1], &g->force[2], | |
+ &g->angpos[0], &g->angpos[1], &g->angpos[2], | |
+ &g->angvel[0], &g->angvel[1], &g->angvel[2], | |
+ &g->angacc[0], &g->angacc[1], &g->angacc[2], | |
+ &g->torque[0], &g->torque[1], &g->torque[2], | |
+ &g->disp[0], &g->disp[1], &g->disp[2], | |
+ &g->forceext[0], &g->forceext[1], &g->forceext[2], | |
+ &g->density, | |
+ &g->fixed, | |
+ &g->rotating, | |
+ &g->enabled, | |
+ &g->youngs_modulus, | |
+ &g->poissons_ratio, | |
+ &g->friction_coeff, | |
+ &g->tensile_strength, | |
+ &g->shear_strength, | |
+ &g->fracture_toughness, | |
+ &g->gridpos[0], &g->gridpos[1], &g->gridpos[2], | |
+ &g->ncontacts, | |
+ &g->contact_stress[0], &g->contact_stress[1], &g->con… | |
+ &g->thermal_energy, | |
+ &g->color) != 52) | |
errx(1, "%s: could not read line: %s", __func__, line); | |
if (grain_check_values(g)) |