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

Function OPS_MultiSupportPattern

SRC/domain/pattern/MultiSupportPattern.cpp:43–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41#include <elementAPI.h>
42
43void* OPS_MultiSupportPattern()
44{
45 int tag;
46
47 if(OPS_GetNumRemainingInputArgs() < 1) {
48 opserr<<"insufficient number of args\n";
49 return 0;
50 }
51
52 // get tag
53 int numData = 1;
54 if(OPS_GetIntInput(&numData,&tag) < 0) {
55 opserr << "WARNING failed to get multi support pattern tag\n";
56 return 0;
57 }
58
59 return new MultiSupportPattern(tag);
60}
61
62
63MultiSupportPattern::MultiSupportPattern(int tag, int _classTag)

Callers 1

OPS_PatternFunction · 0.85

Calls 2

OPS_GetIntInputFunction · 0.50

Tested by

no test coverage detected