FEDEM Solver  R8.0
Source code of the dynamics solver
Functions
testRestart.C File Reference

Test program for restarting the dynamics solver from an in-core state. More...

#include <cstdlib>
#include <cstring>
#include <vector>
#include <fstream>
#include "../solverInterface.h"
Include dependency graph for testRestart.C:

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 restarting the dynamics solver from an in-core state. More...
 

Detailed Description

Test program for restarting the dynamics solver from an in-core state.

Author
Knut Morten Okstad, Fedem Technology AS
Date
16 Jan 2017

Function Documentation

◆ compareResponse()

int compareResponse ( const char *  fn1,
const char *  fn2,
double  eps,
int  skip 
)

Utility function to compare two ASCII files with numerical data.

Parameters
[in]fn1Path to the first file
[in]fn2Path to the second file (with reference data)
[in]epsComparison tolerance
[in]skipNumber of initial lines to skip coomparison for
Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char **  argv 
)

Test program for restarting the dynamics solver from an in-core state.

Here is the call graph for this function: