~ubuntu-branches/ubuntu/gutsy/plotutils/gutsy

« back to all changes in this revision

Viewing changes to ode/ama.c

  • Committer: Bazaar Package Importer
  • Author(s): Floris Bruynooghe
  • Date: 2007-05-10 19:48:54 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070510194854-mrr3lgwzpxd8hovo
Tags: 2.5-2
Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* This file is part of the GNU plotutils package. */
 
2
 
 
3
/*
 
4
 * Copyright (C) 1982-1994, Nicholas B. Tufillaro.  All rights reserved.
 
5
 *
 
6
 * GNU enhancements Copyright (C) 1996, 1997, 2005, Free Software
 
7
 * Foundation, Inc.
 
8
 */
 
9
 
 
10
/*
 
11
 * Adams-Moulton with adaptive step size
 
12
 */
 
13
 
1
14
#include "sys-defines.h"
2
15
#include "ode.h"
3
16
#include "extern.h"
9
22
                        t+0.9375*tstep > tstop && t+0.0625*tstep < tstop : \
10
23
                        t+0.9375*tstep < tstop && t+0.0625*tstep > tstop)
11
24
 
12
 
/*
13
 
 * Adams-Moulton with adaptive step size
14
 
 * Copyright Nicholas B. Tufillaro, 1982-1994. All rights reserved.
15
 
 * GNU enhancements copyright (C) 1996-1997 Free Software Foundation, Inc.
16
 
 */
17
 
 
18
25
void
19
 
#ifdef _HAVE_PROTOS
20
26
ama (void)
21
 
#else
22
 
ama ()
23
 
#endif
24
27
{
25
28
  bool gdval = true;            /* good value to print ? */
26
29
  int overtime = 1;