main.cc File Reference

Id
main.cc,v 1.5 2009/02/02 17:39:10 freg Exp
More...

#include "simenv.h"
#include "simulation.h"
#include "metapop.h"

Include dependency graph for main.cc:

Go to the source code of this file.

Functions

int main (int argc, char **argv)


Detailed Description

Id
main.cc,v 1.5 2009/02/02 17:39:10 freg Exp

Nemo2

Copyright (C) 2006 Frederic Guillaume guillaum@zoology.ubc.ca

This file is part of Nemo

Nemo is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Nemo is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

created on

Date:
19.07.2004
Author:
fred

Definition in file main.cc.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 37 of file main.cc.

00038 {
00039   Metapop *thePop = new Metapop;
00040   SimRunner *theSim = SIMenv::setMainSim( thePop );
00041 
00042   if( !theSim->run(argc, argv) ) fatal(" could not run the simulation!\n");
00043   
00044   delete theSim;
00045   delete thePop;
00046 
00047   return 0;
00048 }


Generated for Nemo v2.1.2 by  doxygen 1.5.8 -- Nemo is hosted by  SourceForge.net Logo