Feel++ 0.91.0
Classes | Functions
/home/prudhomm/sources/feel/doc/tutorial/myapp.cpp File Reference
#include <feel/options.hpp>
#include <feel/feelcore/feel.hpp>
#include <feel/feelcore/application.hpp>
#include <feel/feelalg/backend.hpp>

Classes

class  MyApp

Functions

po::options_description makeOptions ()
AboutData makeAbout ()
int main (int argc, char **argv)

Detailed Description

Author:
Christophe Prud'homme <christophe.prudhomme@ujf-grenoble.fr>
Date:
2008-02-04

Function Documentation

int main ( int  argc,
char **  argv 
)

main function: entry point of the program

intantiate a MyApp class

 */
    MyApp app( argc, argv, makeAbout(), makeOptions() );

run the application

 */
    app.run();

References MyApp::run().

AboutData makeAbout ( ) [inline]

This routine defines some information about the application like authors, version, or name of the application. The data returned is typically used as an argument of a Feel::Application subclass.

Returns:
some data about the application.

References Feel::AboutData::addAuthor().

po::options_description makeOptions ( ) [inline]

This routine returns the list of options using the boost::program_options library. The data returned is typically used as an argument of a Feel::Application subclass.

Returns:
the list of options

References Feel::backend_options().