FEDEM Solver
R8.0
Source code of the dynamics solver
|
Test program for components of the inverse method. More...
#include <cstdlib>
#include <cstring>
#include <cctype>
#include <cmath>
#include <vector>
#include <fstream>
#include <iostream>
#include "../solverInterface.h"
Macros | |
#define | M_PI 3.14159265358979323846 |
The value of π. More... | |
Typedefs | |
typedef std::pair< int, int > | Ipair |
Convenience type definition. More... | |
typedef std::vector< Ipair > | Ipairs |
Convenience type definition. More... | |
Functions | |
int | compareResponse (const char *, const char *, double, int=0) |
Utility function to compare two ASCII files with numerical data. More... | |
int | main (int argc, char **argv) |
Test program for components of the inverse method. More... | |
Test program for components of the inverse method.
#define M_PI 3.14159265358979323846 |
The value of π.
typedef std::pair<int,int> Ipair |
Convenience type definition.
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 | ||
) |
Test program for components of the inverse method.