Package pulse.problem.statements
Class ClassicalProblem2D
- java.lang.Object
-
- pulse.util.UpwardsNavigable
-
- pulse.util.Group
-
- pulse.util.Accessible
-
- pulse.util.PropertyHolder
-
- pulse.problem.statements.Problem
-
- pulse.problem.statements.ClassicalProblem
-
- pulse.problem.statements.ClassicalProblem2D
-
- All Implemented Interfaces:
Serializable,Optimisable,Descriptive,Reflexive
public class ClassicalProblem2D extends ClassicalProblem
The complete problem statement for a fully two-dimensional problem, which includes side heat losses, a variable field of view and variable pulse-to-diameter ratio.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClassicalProblem2D()ClassicalProblem2D(Problem p)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidassign(ParameterVector params)Assigns parameter values of thisProblemusing the optimisation vectorparams.Problemcopy()Class<? extends DifferenceScheme>defaultScheme()DiscretePulsediscretePulseOn(Grid grid)Constructs aDiscretePulseon the specifiedgridusing thePulsecorresponding to thisProblem.voidinitProperties()voidinitProperties(ThermalProperties properties)booleanisReady()voidoptimisationVector(ParameterVector output)Calculates the vector argument defined on to the scalar objective function for thisProblem.StringtoString()-
Methods inherited from class pulse.problem.statements.ClassicalProblem
getGeometricFactor, listedKeywords, set, setGeometricFactor
-
Methods inherited from class pulse.problem.statements.Problem
areDetailsHidden, availableSolutions, estimateSignalRange, getBaseline, getBaselineDescriptor, getComplexity, getHeatingCurve, getProperties, getPulse, isEnabled, listedTypes, retrieveData, setBaseline, setComplexity, setDetailsHidden, setHeatingCurve, setProperties, setPulse
-
Methods inherited from class pulse.util.PropertyHolder
addListener, data, describe, firePropertyChanged, getDescriptor, getListeners, getPrefix, ignoreSiblings, initListeners, isListedNumericType, isListedParameter, numericData, parameterListChanged, removeListeners, setPrefix, updateProperties, updateProperty
-
Methods inherited from class pulse.util.Accessible
accessibleChildren, genericProperties, genericProperty, numericProperties, numericProperty, property, update, update
-
Methods inherited from class pulse.util.UpwardsNavigable
addHierarchyListener, getHierarchyListeners, getParent, identify, removeHierarchyListener, removeHierarchyListeners, setParent, specificAncestor, tellParent
-
-
-
-
Constructor Detail
-
ClassicalProblem2D
public ClassicalProblem2D()
-
ClassicalProblem2D
public ClassicalProblem2D(Problem p)
-
-
Method Detail
-
initProperties
public void initProperties()
- Overrides:
initPropertiesin classClassicalProblem
-
initProperties
public void initProperties(ThermalProperties properties)
- Overrides:
initPropertiesin classClassicalProblem
-
defaultScheme
public Class<? extends DifferenceScheme> defaultScheme()
- Overrides:
defaultSchemein classClassicalProblem
-
toString
public String toString()
- Overrides:
toStringin classClassicalProblem
-
discretePulseOn
public DiscretePulse discretePulseOn(Grid grid)
Description copied from class:ProblemConstructs aDiscretePulseon the specifiedgridusing thePulsecorresponding to thisProblem.- Overrides:
discretePulseOnin classProblem- Parameters:
grid- the grid- Returns:
- a
DiscretePulseobjects constructed for thisProblemand thegrid
-
optimisationVector
public void optimisationVector(ParameterVector output)
Description copied from class:ProblemCalculates the vector argument defined on to the scalar objective function for thisProblem. To fill the vector with data, only those parameters from thisProblemwill be used which are defined by theflags, e.g. if the flag associated with theHEAT_LOSSkeyword is set to false, its value will be skipped when creating the vector.- Specified by:
optimisationVectorin interfaceOptimisable- Overrides:
optimisationVectorin classClassicalProblem- Parameters:
output- the output vector where the result will be stored- See Also:
Problem.listedTypes()
-
assign
public void assign(ParameterVector params) throws SolverException
Description copied from class:ProblemAssigns parameter values of thisProblemusing the optimisation vectorparams. Only those parameters will be updated, the types of which are listed as indices in theparamsvector.- Specified by:
assignin interfaceOptimisable- Overrides:
assignin classClassicalProblem- Parameters:
params- the optimisation vector, containing a similar set of parameters to thisProblem- Throws:
SolverException- ifparamscontains invalid parameter values- See Also:
Problem.listedTypes()
-
isReady
public boolean isReady()
- Overrides:
isReadyin classClassicalProblem
-
copy
public Problem copy()
- Overrides:
copyin classClassicalProblem
-
-