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

Method getPressureNode

DEVELOPER/core/Pressure_Constraint.cpp:122–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122Node*
123Pressure_Constraint::getPressureNode()
124{
125 if(pval != 0) return 0;
126
127 Domain* theDomain = this->getDomain();
128 if(theDomain == 0) {
129 opserr<<"WARNING: domain has not been set";
130 opserr<<" -- Pressure_Constraint::getPressureNode\n";
131 return 0;
132 }
133 return theDomain->getNode(pTag);
134}
135
136void
137Pressure_Constraint::setPressure(double p)

Callers 2

setPressureMethod · 0.95
setPdotMethod · 0.95

Calls 2

getDomainMethod · 0.45
getNodeMethod · 0.45

Tested by

no test coverage detected