public abstract class AbstractForceModel extends Object implements ForceModel
Constructor and Description |
---|
AbstractForceModel() |
Modifier and Type | Method and Description |
---|---|
protected void |
complainIfNotSupported(String name)
Complain if a parameter is not supported.
|
ParameterDriver |
getParameterDriver(String name)
Get parameter value from its name.
|
boolean |
isSupported(String name)
Check if a parameter is supported.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
acceleration, acceleration, addContribution, addContribution, dependsOnPositionOnly, getEventsDetectors, getFieldEventsDetectors, getParameters, getParameters, getParametersDrivers, init
public ParameterDriver getParameterDriver(String name)
getParameterDriver
in interface ForceModel
name
- parameter namepublic boolean isSupported(String name)
Supported parameters are those listed by ForceModel.getParametersDrivers()
.
isSupported
in interface ForceModel
name
- parameter name to checkForceModel.getParametersDrivers()
protected void complainIfNotSupported(String name)
name
- name of the parameterCopyright © 2002-2021 CS GROUP. All rights reserved.