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

Method updateParameter

DEVELOPER/core/Domain.cpp:2013–2028  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2011
2012
2013int
2014Domain::updateParameter(int tag, int value)
2015{
2016 // get the object from the container
2017 TaggedObject *mc = theParameters->getComponentPtr(tag);
2018
2019 // if not there return 0
2020 if (mc == 0)
2021 return 0;
2022
2023 // convert to a parameter & update
2024 Parameter *result = (Parameter *)mc;
2025 int res = result->update(value);
2026
2027 return res;
2028}
2029
2030int
2031Domain::updateParameter(int tag, double value)

Callers

nothing calls this directly

Calls 2

getComponentPtrMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected