The hypothesis
The variables are described in The hypothesis.
Methods of the class homard
|
|
|
Methods of the class hypothese
General methods
|
|
|
|
|
Uniform adaptation
|
Adaptation by a field
The driving field and the thresholds
|
|
|
|
|
|
|
The components of the driving field
|
|
|
|
|
Adaptation by zones
AddZone(zone_name, type_use)
|
|
|
|
The filtering by the groups
|
|
Interpolation of fields
SetTypeFieldInterp(typefieldinterp)
|
|
AddFieldInterp(FieldName)
|
AddFieldInterpType(FieldName, type_interp)
|
|
|
|
Note
The file and the time steps for the fiels are defined with the iteration; see The iteration.
Advanced options
|
|
|
|
|
|
|
|
Example
The creation of the object hypo_1 is done as follows:
hypo_1 = homard.CreateHypothesis("HypoField")
hypo_1.SetField("INDICATEUR")
hypo_1.AddComp("INDX")
hypo_1.AddComp("INDZ")
hypo_1.SetRefinThr(1, 80.)
hypo_1.AddFieldInterp("DEPL")
hypo_1.AddFieldInterpType("MASS", 1)
Similar graphical input
Look at The hypothesis
Warning
With the graphical input mode, if a hypothesis is edited and if one of the characteristic is modified, the value of the threshold for the refinement for example, all the iterations that were computed with this hypothesis are unvalidated. In python mode, that is not true: the iterations stay as they are.