ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
model14.cpp
Go to the documentation of this file.
1 
8 #include <admodel.h>
9 
11  {
12  if ( x>0)
13  {
14  stepsize=x;
15  }
16  else
17  {
18  cerr << "Error in likeprof_params::set_stepsize(double x)"
19  " stepsize must be >0" << endl;
20  }
21  }
22 
24  {
25  if ( n>0)
26  {
27  stepnumber=n;
28  }
29  else
30  {
31  cerr << "Error in likeprof_params::set_stepnumber(int n)"
32  " stepnumber must be >0" << endl;
33  }
34  }
35 
37  {
38  return stepsize;
39  }
40 
42  {
43  return stepnumber;
44  }
double stepsize
Definition: admodel.h:2253
#define x
prnstream & endl(prnstream &)
Description not yet available.
int get_stepnumber(void)
Definition: model14.cpp:41
void set_stepsize(double)
Definition: model14.cpp:10
void set_stepnumber(int)
Definition: model14.cpp:23
double get_stepsize(void)
Definition: model14.cpp:36