MCPcopy Create free account
hub / github.com/Geant4/geant4 / SetDefaultValue

Method SetDefaultValue

source/intercoms/src/G4UIcmdWithADoubleAndUnit.cc:159–163  ·  view source on GitHub ↗

--------------------------------------------------------------------

Source from the content-addressed store, hash-verified

157
158// --------------------------------------------------------------------
159void G4UIcmdWithADoubleAndUnit::SetDefaultValue(G4double defVal)
160{
161 G4UIparameter* theParam = GetParameter(0);
162 theParam->SetDefaultValue(defVal);
163}
164
165// --------------------------------------------------------------------
166void G4UIcmdWithADoubleAndUnit::SetUnitCategory(const char* unitCategory)

Callers 1

SetDefaultUnitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected