Feel++ 0.91.0
|
#include <feel/options.hpp>
#include <feel/feelalg/backend.hpp>
#include <feel/feeldiscr/functionspace.hpp>
#include <feel/feeldiscr/region.hpp>
#include <feel/feelpoly/im.hpp>
#include <feel/feelfilters/gmsh.hpp>
#include <feel/feelfilters/exporter.hpp>
#include <feel/feelpoly/polynomialset.hpp>
#include <feel/feelvf/vf.hpp>
Classes | |
class | Laplacian< Dim > |
Functions | |
po::options_description | makeOptions () |
AboutData | makeAbout () |
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 Laplacian<1>( app.vm(), app.about() ) ); app.add( new Laplacian<2>( app.vm(), app.about() ) ); //app.add( new Laplacian<3>( 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().
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.
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.