8 #ifndef FFA_CHECK_SUM_H
9 #define FFA_CHECK_SUM_H
39 void add(
double e,
int precision = 0);
40 void add(
const FaVec3& e,
int precision = 0);
42 template<
class T>
void add(
const std::vector<T>& v)
44 for (
const T& e : v) this->
add(e);
48 unsigned int doCRC(
unsigned int data);
Definition: FFaCheckSum.H:19
unsigned int addval
Definition: FFaCheckSum.H:54
bool isBigEndian
Definition: FFaCheckSum.H:55
~FFaCheckSum()
Definition: FFaCheckSum.H:23
void add(unsigned short int e)
Definition: FFaCheckSum.H:35
friend std::ostream & operator<<(std::ostream &s, const FFaCheckSum &cs)
Definition: FFaCheckSum.C:201
unsigned int doCRC(unsigned int data)
Definition: FFaCheckSum.C:64
unsigned int * crc32_table
Definition: FFaCheckSum.H:53
void reset()
Definition: FFaCheckSum.H:28
void add(char e)
Definition: FFaCheckSum.H:32
friend std::istream & operator>>(std::istream &s, FFaCheckSum &cs)
Definition: FFaCheckSum.C:207
FFaCheckSum & operator=(const FFaCheckSum &cs)
Definition: FFaCheckSum.C:43
bool operator==(const FFaCheckSum &cs) const
Definition: FFaCheckSum.C:55
void add(unsigned int e)
Definition: FFaCheckSum.H:37
FFaCheckSum()
Definition: FFaCheckSum.C:14
unsigned int checksum
Definition: FFaCheckSum.H:54
FFaCheckSum(const FFaCheckSum &)=delete
void add(int e)
Definition: FFaCheckSum.H:36
void add(unsigned char e)
Definition: FFaCheckSum.H:33
unsigned int getCurrent() const
Definition: FFaCheckSum.H:29
void add(const std::vector< T > &v)
Definition: FFaCheckSum.H:42
void add(short int e)
Definition: FFaCheckSum.H:34
void add(const std::string &e)
Definition: FFaCheckSum.H:31
Class for point vectors in 3D space.
Definition: FFaVec3.H:40
real(dp), dimension(:,:), allocatable c
Definition: inverseModule.f90:39