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

Method SetParameterName

source/intercoms/src/G4UIcmdWithADoubleAndUnit.cc:149–156  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

147
148// --------------------------------------------------------------------
149void G4UIcmdWithADoubleAndUnit::SetParameterName(const char* theName, G4bool omittable,
150 G4bool currentAsDefault)
151{
152 G4UIparameter* theParam = GetParameter(0);
153 theParam->SetParameterName(theName);
154 theParam->SetOmittable(omittable);
155 theParam->SetCurrentAsDefault(currentAsDefault);
156}
157
158// --------------------------------------------------------------------
159void G4UIcmdWithADoubleAndUnit::SetDefaultValue(G4double defVal)

Callers 1

Calls 2

SetOmittableMethod · 0.80
SetCurrentAsDefaultMethod · 0.80

Tested by

no test coverage detected