-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdomain.h
37 lines (29 loc) · 817 Bytes
/
domain.h
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
#pragma once
#include <vector>
#include "hashedregistrable.h"
#include "ddobject.h"
#include "vector.h"
#include <string>
namespace dd {
class SlipSystem;
class Point;
class DislocationPoint;
/**
* Problem domain.
*/
class Domain : public HashedRegistrable<Point> {
#define DOMAIN_NAME "Domain"
private:
double propModulus;
double propPassionsRatio;
std::vector<SlipSystem *> sSystems;
public:
Domain(const double & propModulus, const double & propPassionsRatio);
Domain();
void addSlipSystem(SlipSystem * ss);
double getModulus() const;
double getPassionsRatio() const;
virtual string typeName() const { return DOMAIN_NAME; }
static string staticTypeName() { return DOMAIN_NAME; }
};
}