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

Function OPS_ElasticSection3d

SRC/material/section/ElasticSection3d.cpp:42–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40ID ElasticSection3d::code(4);
41
42void* OPS_ElasticSection3d()
43{
44 if(OPS_GetNumRemainingInputArgs() < 7) {
45 opserr<<"insufficient arguments for ealstic 3d section\n";
46 return 0;
47 }
48
49 // get tag
50 int tag;
51 int numData = 1;
52 if(OPS_GetIntInput(&numData,&tag) < 0) return 0;
53
54 // get data
55 numData = 6;
56 double data[6];
57 if(OPS_GetDoubleInput(&numData,&data[0]) < 0) return 0;
58
59 return new ElasticSection3d(tag,data[0],data[1],data[2],
60 data[3],data[4],data[5]);
61}
62
63
64ElasticSection3d::ElasticSection3d(void)

Callers 2

OPS_ElasticSectionFunction · 0.85
OPS_ElasticSectionFunction · 0.85

Calls 3

OPS_GetIntInputFunction · 0.50
OPS_GetDoubleInputFunction · 0.50

Tested by

no test coverage detected