Package pulse.problem.statements
Class ClassicalProblem
- java.lang.Object
-
- pulse.util.UpwardsNavigable
-
- pulse.util.Group
-
- pulse.util.Accessible
-
- pulse.util.PropertyHolder
-
- pulse.problem.statements.Problem
-
- pulse.problem.statements.ClassicalProblem
-
- All Implemented Interfaces:
Serializable,Optimisable,Descriptive,Reflexive
- Direct Known Subclasses:
ClassicalProblem2D,DiathermicMedium,NonlinearProblem,PenetrationProblem
public class ClassicalProblem extends Problem
The simplest problem statement supported inPULsE, which is formulated in the dimensionless form and with linearised boundary conditions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClassicalProblem()ClassicalProblem(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()NumericPropertygetGeometricFactor()voidinitProperties()voidinitProperties(ThermalProperties properties)booleanisReady()Set<NumericPropertyKeyword>listedKeywords()Listed parameters include:MAXTEMP, DIFFUSIVITY, THICKNESS, HEAT_LOSS_FRONT, HEAT_LOSS_REAR.voidoptimisationVector(ParameterVector output)Calculates the vector argument defined on to the scalar objective function for thisProblem.voidset(NumericPropertyKeyword type, NumericProperty value)Used to change the parameter values of thisProblem.voidsetGeometricFactor(NumericProperty bias)StringtoString()-
Methods inherited from class pulse.problem.statements.Problem
areDetailsHidden, availableSolutions, discretePulseOn, 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
-
ClassicalProblem
public ClassicalProblem()
-
ClassicalProblem
public ClassicalProblem(Problem p)
-
-
Method Detail
-
listedKeywords
public Set<NumericPropertyKeyword> listedKeywords()
Description copied from class:ProblemListed parameters include:MAXTEMP, DIFFUSIVITY, THICKNESS, HEAT_LOSS_FRONT, HEAT_LOSS_REAR.- Overrides:
listedKeywordsin classProblem- Returns:
- a set of
NumericPropertyKeywordinstances, which have been explicitly marked as a listed parameter for thisPropertyHolder.
-
defaultScheme
public Class<? extends DifferenceScheme> defaultScheme()
- Specified by:
defaultSchemein classProblem
-
initProperties
public void initProperties()
- Specified by:
initPropertiesin classProblem
-
initProperties
public void initProperties(ThermalProperties properties)
- Specified by:
initPropertiesin classProblem
-
getGeometricFactor
public NumericProperty getGeometricFactor()
-
setGeometricFactor
public void setGeometricFactor(NumericProperty bias)
-
set
public void set(NumericPropertyKeyword type, NumericProperty value)
Description copied from class:ProblemUsed to change the parameter values of thisProblem. It is only allowed to use those types ofNumericProperythat are listed by thelistedParameters().- Overrides:
setin classProblem- Parameters:
type- the type, which must be equal by definition toproperty.getType().value- the property, which contains new information.- See Also:
Problem.listedTypes()
-
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 classProblem- 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 classProblem- Parameters:
params- the optimisation vector, containing a similar set of parameters to thisProblem- Throws:
SolverException- ifparamscontains invalid parameter values- See Also:
Problem.listedTypes()
-
-