tRemove unused variable from main - cngf-pf - continuum model for granular flows with pore-pressure dynamics (renamed from 1d_fd_simple_shear)
(HTM) git clone git://src.adamsgaard.dk/cngf-pf
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 9bfaf834812f4c720008acdaba8c75db2f254915
(DIR) parent 8bbc6c21842e6820f09d642d03ae1c0cb814a3f5
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 6 Apr 2020 14:48:23 +0200
Remove unused variable from main
Diffstat:
M 1d_fd_simple_shear.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
---
(DIR) diff --git a/1d_fd_simple_shear.c b/1d_fd_simple_shear.c
t@@ -1,5 +1,3 @@
-#include <unistd.h>
-#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
t@@ -70,7 +68,7 @@ main(int argc, char* argv[])
{
int i, normalize;
unsigned long iter;
- double new_phi, new_k, filetimeclock, mu_wall_orig;
+ double new_phi, new_k, filetimeclock;
#ifdef BENCHMARK_PERFORMANCE
clock_t t_begin, t_end;
double t_elapsed;
t@@ -246,7 +244,6 @@ main(int argc, char* argv[])
filetimeclock = 0.0;
iter = 0;
- mu_wall_orig = sim.mu_wall;
while (sim.t <= sim.t_end) {
#ifdef BENCHMARK_PERFORMANCE