GraphNet: Discrete element modeling for network connected materials
Applications to polymeric networks
sac_network.h
Go to the documentation of this file.
1 #ifndef SACNETWORK_H
2 #define SACNETWORK_H
3 #include <iostream>
4 #include <cmath>
5 #include <cstdlib>
6 #include <math.h>
7 #include <random>
8 #include <time.h>
9 #include <vector>
10 #include <unistd.h>
11 #include <algorithm>
12 #include <ctime>
13 #include <chrono>
14 #include <fstream>
15 #include <sstream>
16 #include <string>
17 #include <cstring>
18 #include <stddef.h>
19 #include "network.h"
20 using namespace std;
21 
31 class sacNetwork : virtual public Network{
32  public:
33  int* m; //n_elems
34  float* sacdamage; // n_elems
35  sacNetwork();
36  ~sacNetwork();
37  sacNetwork(sacNetwork const &);
38  sacNetwork(string& fname, bool from_dump = false);
39  void clear();
40  void malloc_network();
41  void load_network(string&);
42  virtual void get_forces(bool) override;
43 
44 };
45 
46 #endif
Definition: sac_network.h:31
Definition: network.h:34
int * m
Definition: sac_network.h:33
Conceptualizes and builds a polymer network as a graph G = (V,E) (i.e. a set of nodes (crosslinkers...
float * sacdamage
Definition: sac_network.h:34