|
Feel++ 0.91.0
|
#include <residualestimator.hpp>Functions | |
| po::options_description | makeOptions () |
| int | main (int argc, char **argv) |
| 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.
1.7.4