Main Content

NodalInitialConditions Properties

Initial conditions at mesh nodes

A NodalInitialConditions object contains a description of the initial conditions at mesh nodes. A PDEModel container has a vector of NodalInitialConditions objects in its InitialConditions.InitialConditionAssignments property.

Set initial conditions for your model using the setInitialConditions function.

Properties

expand all

Initial value, returned as a scalar, vector, or function handle. For details, see setInitialConditions.

Data Types: double | function_handle
Complex Number Support: Yes

Initial derivative, returned as a scalar, vector, or function handle. For details, see setInitialConditions.

Data Types: double | function_handle
Complex Number Support: Yes

Introduced in R2016b