-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsac_network.h
More file actions
executable file
·46 lines (41 loc) · 1021 Bytes
/
sac_network.h
File metadata and controls
executable file
·46 lines (41 loc) · 1021 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#ifndef SACNETWORK_H
#define SACNETWORK_H
#include <iostream>
#include <cmath>
#include <cstdlib>
#include <math.h>
#include <random>
#include <time.h>
#include <vector>
#include <unistd.h>
#include <algorithm>
#include <ctime>
#include <chrono>
#include <fstream>
#include <sstream>
#include <string>
#include <cstring>
#include <stddef.h>
#include "network.h"
using namespace std;
/**
@file sac_network.h
\brief Extends the network defintion to include hidden length
effects as described by Lieou et al., 2013 PRE 88, 012703 article
Sacrificial bonds and hidden length in biomaterials: A kinetic
constitutive description of strength and toughness in bone
*/
class sacNetwork : virtual public Network{
public:
int* m; //n_elems
float* sacdamage; // n_elems
sacNetwork();
~sacNetwork();
sacNetwork(sacNetwork const &);
sacNetwork(string& fname);
void clear() override;
void malloc_network(string&) override;
void load_network(string&) override;
virtual void get_forces(bool) override;
};
#endif