FEDEM Solver
R8.0
Source code of the dynamics solver
|
This file contains the C++ main program for the FEDEM dynamics solver. More...
Functions | |
int | compareResponse (const char *, const char *, double, int) |
Utility function to compare two ASCII files with numerical data. More... | |
int | main (int argc, char **argv) |
Main program for the FEDEM dynamics solver. More... | |
This file contains the C++ main program for the FEDEM dynamics solver.
int compareResponse | ( | const char * | fn1, |
const char * | fn2, | ||
double | eps, | ||
int | skip | ||
) |
Utility function to compare two ASCII files with numerical data.
[in] | fn1 | Path to the first file |
[in] | fn2 | Path to the second file (with reference data) |
[in] | eps | Comparison tolerance |
[in] | skip | Number of initial lines to skip coomparison for |
int main | ( | int | argc, |
char ** | argv | ||
) |
Main program for the FEDEM dynamics solver.
The main program contains very little logic. It uses functions from the solverInterface API to initialize and solve the dynamic problem at each time step. It can also invoke a response verification before program termination, in which the calculated response is compared with some reference data. This is mainly used to set up regression tests.