MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / DRMLoadPattern

Method DRMLoadPattern

SRC/domain/pattern/drm/DRMLoadPattern.cpp:26–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24//using namespace::std;
25
26DRMLoadPattern::DRMLoadPattern(int tag, double cfact, DRMInputHandler* my_handler, Domain* domain)
27:LoadPattern(tag, PATTERN_TAG_DRMLoadPattern)
28{
29 this->factor = cfact;
30
31 // node map
32 std::map<int,int> mapn;
33 // ele map
34 std::map<int,Element* > mape;
35 // double* map for eles
36 std::map<int,Vector* > maps;
37 // int map for eles
38 std::map<int,int > maps2;
39
40 this->eNodes = mapn;
41 this->elem = mape;
42 this->storage = maps;
43 this->storage2 = maps2;
44
45 this->myDomain = domain;
46 this->myHandler = my_handler;
47
48 this->setMaps();
49}
50
51
52DRMLoadPattern::~DRMLoadPattern()

Callers

nothing calls this directly

Calls 1

setMapsMethod · 0.95

Tested by

no test coverage detected