Skip to content

Commit def3278

Browse files
committed
remove unnecessary comments
1 parent 944c153 commit def3278

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

bmi_waves.c

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
#include "bmi.h"
77
#include "bmi_waves.h"
88

9-
/* Implement this: Add model-specific includes */
109
#include "waves_model.h"
1110

1211

@@ -143,7 +142,7 @@ get_start_time(Bmi * self, double *time)
143142

144143
static int
145144
get_end_time(Bmi * self, double *time)
146-
{ /* Implement this: Set end time */
145+
{
147146
WavesModel *model = (WavesModel*)self->data;
148147
*time = model->end * model->time_step;
149148
return BMI_SUCCESS;
@@ -152,7 +151,7 @@ get_end_time(Bmi * self, double *time)
152151

153152
static int
154153
get_current_time(Bmi * self, double *time)
155-
{ /* Implement this: Set current time */
154+
{
156155
WavesModel *model = (WavesModel*)self->data;
157156
*time = model->now * model->time_step;
158157
return BMI_SUCCESS;
@@ -161,7 +160,7 @@ get_current_time(Bmi * self, double *time)
161160

162161
static int
163162
get_time_step(Bmi * self, double *dt)
164-
{ /* Implement this: Set time step */
163+
{
165164
WavesModel *model = (WavesModel*)self->data;
166165
*dt = model->time_step;
167166
return BMI_SUCCESS;
@@ -178,7 +177,7 @@ get_time_units(Bmi * self, char *units)
178177

179178
static int
180179
initialize(Bmi* handle, const char * file)
181-
{ /* Implement this: Create and initialize a model handle */
180+
{
182181
{
183182
WavesModel * self = (WavesModel*)handle->data;
184183
double end_time = 20.;
@@ -217,7 +216,7 @@ initialize(Bmi* handle, const char * file)
217216

218217
static int
219218
update_frac(Bmi * self, double f)
220-
{ /* Implement this: Update for a fraction of a time step */
219+
{
221220
WavesModel *p = (WavesModel *) self->data;
222221
double now;
223222
//int until_time_step = p->time_step * f;
@@ -269,7 +268,7 @@ update_until(Bmi * self, double then)
269268

270269
static int
271270
finalize(Bmi * self)
272-
{ /* Implement this: Clean up */
271+
{
273272
waves_destroy ((WavesModel*)self->data);
274273

275274
return BMI_SUCCESS;

0 commit comments

Comments
 (0)