MCPcopy Create free account
hub / github.com/NatLabRockies/SAM / Clear

Method Clear

src/simulation.cpp:194–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194void Simulation::Clear()
195{
196 size_t i;
197 for (i = 0; i < m_overrides.size(); i++)
198 m_overrides[i].clear();
199 m_overrides.clear();
200 for (i = 0; i < m_inputs.size(); i++)
201 m_inputs[i].clear();
202 m_inputs.clear();
203 m_outputList.clear();
204 m_outputs.clear();
205 m_errors.clear();
206 m_warnings.clear();
207 m_notices.clear();
208 m_outputLabels.clear();
209 m_outputUnits.clear();
210 m_uiHints.clear();
211
212 Setup(); // resize after clearing
213}
214
215void Simulation::Override( const wxString &name, const VarValue &val, size_t ndxHybrid)
216{

Callers 3

read_array_stringFunction · 0.45
GetNewMessagesMethod · 0.45
GetNewMessagesMethod · 0.45

Calls 2

sizeMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected