====== Initial conditions ====== The syntax is similar to [[doc:user:conditions:displacements]]: icset = metafor.getInitialConditionSet() icset.define(target, field, ampl) icset.define(target, field, ampl, fctMultiChamps , fieldList) where |< 100% 8em - - >| |''target'' | ''GObject'' | meshed geometric entity where the initial condition is prescribed | |''field'' | ''Field1D'' | nodal variable to be prescribed | |''field'' | ''InternalField'' | Gauss-point variable to be prescribed | |''ampl'' | ''float'' | initial value | |''fctMulti'' {{:doc:user:ico-advanced.png?18|Advanced}} | ''[[doc:user:general:fonctions|Function]]'' | spatial dependence | |''fieldList'' {{:doc:user:ico-advanced.png?18|Advanced}} | | list of dependency fields | \\ __Example:__ FIXME