Go to the source code of this file.
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 28 of file fparser_parse.C.
33 libmesh_error_msg(
"Usage: " << argv[0] <<
" function_to_eval [x] [y] [z] [t]");
35 std::string function_string = argv[1];
39 const Point p ( (argc > 2) ? std::atof(argv[2]) : 0.0,
40 (argc > 3) ? std::atof(argv[3]) : 0.0,
41 (argc > 4) ? std::atof(argv[4]) : 0.0 );
43 const libMesh::Real t = (argc > 5) ? std::atof(argv[5]) : 0.0;
References libMesh::out, and libMesh::Real.