Package pulse.problem.statements
Class TwoTemperatureModel
-
- All Implemented Interfaces:
Serializable,Optimisable,Descriptive,Reflexive
public class TwoTemperatureModel extends PenetrationProblem
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TwoTemperatureModel()TwoTemperatureModel(TwoTemperatureModel 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.TwoTemperatureModelcopy()Class<? extends DifferenceScheme>defaultScheme()doublediffusivityRatio()Diffusivity of solid over diffusivity of gasGasgetGas()InstanceDescriptor<Gas>getGasSelector()voidinitProperties()voidinitProperties(ThermalProperties properties)List<Property>listedTypes()By default, collects a list of default properties corresponding to types defined by listedKeywords().voidoptimisationVector(ParameterVector output)Calculates the vector argument defined on to the scalar objective function for thisProblem.voidsetGas(Gas gas)StringtoString()-
Methods inherited from class pulse.problem.statements.PenetrationProblem
getAbsorptionModel, getAbsorptionSelector, listedKeywords, setAbsorptionModel
-
Methods inherited from class pulse.problem.statements.ClassicalProblem
getGeometricFactor, isReady, set, setGeometricFactor
-
Methods inherited from class pulse.problem.statements.Problem
areDetailsHidden, availableSolutions, discretePulseOn, estimateSignalRange, getBaseline, getBaselineDescriptor, getComplexity, getHeatingCurve, getProperties, getPulse, isEnabled, 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
-
TwoTemperatureModel
public TwoTemperatureModel()
-
TwoTemperatureModel
public TwoTemperatureModel(TwoTemperatureModel p)
-
-
Method Detail
-
initProperties
public void initProperties()
- Overrides:
initPropertiesin classClassicalProblem
-
initProperties
public void initProperties(ThermalProperties properties)
- Overrides:
initPropertiesin classClassicalProblem
-
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 classPenetrationProblem- 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 classPenetrationProblem- Parameters:
params- the optimisation vector, containing a similar set of parameters to thisProblem- Throws:
SolverException- ifparamscontains invalid parameter values- See Also:
Problem.listedTypes()
-
toString
public String toString()
- Overrides:
toStringin classPenetrationProblem
-
defaultScheme
public Class<? extends DifferenceScheme> defaultScheme()
- Overrides:
defaultSchemein classPenetrationProblem
-
copy
public TwoTemperatureModel copy()
- Overrides:
copyin classPenetrationProblem
-
listedTypes
public List<Property> listedTypes()
Description copied from class:PropertyHolderBy default, collects a list of default properties corresponding to types defined by listedKeywords(). However, this method is overridable to include non-numeric properties.
- Overrides:
listedTypesin classPenetrationProblem- Returns:
- a list of
Propertyinstances, which have been explicitly marked as a listed parameter for thisPropertyHolder.
-
getGasSelector
public InstanceDescriptor<Gas> getGasSelector()
-
getGas
public Gas getGas()
-
setGas
public final void setGas(Gas gas)
-
diffusivityRatio
public double diffusivityRatio()
Diffusivity of solid over diffusivity of gas- Returns:
-
-