SPH
Classes | Functions
Common.h File Reference
#include "Sph.h"
#include <fstream>
#include <iostream>

Go to the source code of this file.

Classes

class  ProgressLog
 

Functions

Outcome areFilesIdentical (const Path &path1, const Path &path2)
 Checks whether the two files are identical (to the bit). More...
 
Outcome areFilesApproxEqual (const Path &path1, const Path &path2)
 Checks if two .ssf files are almost equal (may have eps-differences in quantities). More...
 
void measureRun (const Path &file, Function< void()> run)
 

Function Documentation

◆ areFilesApproxEqual()

Outcome areFilesApproxEqual ( const Path path1,
const Path path2 
)

Checks if two .ssf files are almost equal (may have eps-differences in quantities).

Todo:
also materials

Definition at line 29 of file Common.cpp.

◆ areFilesIdentical()

Outcome areFilesIdentical ( const Path path1,
const Path path2 
)

Checks whether the two files are identical (to the bit).

Definition at line 6 of file Common.cpp.

◆ measureRun()

void measureRun ( const Path file,
Function< void()>  run 
)

Definition at line 67 of file Common.cpp.