|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmeshi.energy.EnergyCreator
meshi.energy.simpleEnergyTerms.SimpleEnergyCreator
public abstract class SimpleEnergyCreator
Factory classes that generate energy terms. This is the carpet under which we hide all the boring details of what is needed for the creation of a given energy term. Each energy term requires a specific subclass. See meshi.energy.bond.BondCreator for a simple example.
| Nested Class Summary | |
|---|---|
protected static class |
SimpleEnergyCreator.HaveParametersFilter
Picking the relevant objects. |
| Field Summary | |
|---|---|
private static java.lang.String |
parametersDirectory
|
protected ParametersList |
parametersList
A list of the parameters needed for this energy term. |
| Fields inherited from class meshi.energy.EnergyCreator |
|---|
key, term, weight, weightWasSet |
| Constructor Summary | |
|---|---|
SimpleEnergyCreator(double weight)
Construct a somewhat degenerate creator object that cannot read commands from the commands list. |
|
SimpleEnergyCreator(Key key)
Constructs an energy creator object. |
|
SimpleEnergyCreator(Key key,
CommandList commands)
Constructs an energy creator object. |
|
| Method Summary | |
|---|---|
ParametersList |
parametersList()
get method for parametersList. |
| Methods inherited from class meshi.energy.EnergyCreator |
|---|
createEnergyTerm, getParametersDirectory, getWeight, parametersDirectory, term, toString, weight, weightWasSet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected ParametersList parametersList
private static java.lang.String parametersDirectory
| Constructor Detail |
|---|
public SimpleEnergyCreator(Key key)
public SimpleEnergyCreator(Key key,
CommandList commands)
public SimpleEnergyCreator(double weight)
| Method Detail |
|---|
public ParametersList parametersList()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||