Main Content

GeometricInitialConditions Properties

Initial conditions over a region or region boundary

A GeometricInitialConditions object contains a description of the initial conditions over a geometric region or boundary of the region. A PDEModel container has a vector of GeometricInitialConditions objects in its InitialConditions.InitialConditionAssignments property.

Set initial conditions for your model using the setInitialConditions function.

Properties

expand all

Region type, specified as 'face' for a 2-D region, or 'cell' for a 3-D region.

Data Types: char | string

Region ID, specified as a vector of positive integers. To determine which ID corresponds to which portion of the geometry, use the pdegplot function. Set the 'FacenLabels' name-value pair to 'on'.

Data Types: double

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

Data Types: double | function_handle
Complex Number Support: Yes

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

Data Types: double | function_handle
Complex Number Support: Yes

Version History

Introduced in R2016a