Feel++ 0.91.0
Functions
/home/prudhomm/sources/feel/doc/tutorial/residualestimator.cpp File Reference
#include <residualestimator.hpp>

Functions

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

Detailed Description

Author:
Christophe Prud'homme <christophe.prudhomme@ujf-grenoble.fr>
Date:
2010-07-15

Function Documentation

int main ( int  argc,
char **  argv 
)

main function: entry point of the program

create an application

 */
    Application app( argc, argv, makeAbout(), makeOptions() );
    if ( app.vm().count( "help" ) )
    {
        std::cout << app.optionsDescription() << "\n";
        return 0;
    }

register the simgets

 */
    //app.add( new ResidualEstimator<1,1>( app.vm(), app.about() ) );
    app.add( new ResidualEstimator<2,1>( app.vm(), app.about() ) );
    //app.add( new ResidualEstimator<3,1>( app.vm(), app.about() ) );

run the application

 */
    app.run();

References Feel::Application::about(), Feel::Application::add(), Feel::Application::optionsDescription(), Feel::Application::run(), and Feel::Application::vm().

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