Main Content

CoefficientAssignment Properties

Coefficient assignments

A CoefficientAssignment object contains a description of the PDE coefficients. A PDEModel container has a vector of CoefficientAssignment objects in its EquationCoefficients.CoefficientAssignments property.

Coefficients are the m, d, c, a, and f variables in the PDE

m2ut2+dut·(cu)+au=f

or the eigenvalue problem

·(cu)+au=λduor·(cu)+au=λ2mu

Create coefficients for your model using the specifyCoefficients function.

Properties

expand all

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

Data Types: char | string

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

Data Types: double

Second-order time derivative coefficient, returned as a scalar, column vector, or function handle. For details of the m coefficient specification, see m, d, or a Coefficient for specifyCoefficients.

Data Types: double | function_handle
Complex Number Support: Yes

First-order time derivative coefficient, returned as a scalar, column vector, or function handle. For details of the d coefficient specification, see m, d, or a Coefficient for specifyCoefficients.

Data Types: double | function_handle
Complex Number Support: Yes

Second-order space derivative coefficient, returned as a scalar, column vector, or function handle. For details of the c coefficient specification, see c Coefficient for specifyCoefficients.

Data Types: double | function_handle
Complex Number Support: Yes

Solution multiplier coefficient, returned as a scalar, column vector, or function handle. For details of the a coefficient specification, see m, d, or a Coefficient for specifyCoefficients.

Data Types: double | function_handle
Complex Number Support: Yes

Source coefficient, returned as a scalar, column vector, or function handle. For details of the f coefficient specification, see f Coefficient for specifyCoefficients.

Data Types: double | function_handle
Complex Number Support: Yes

Introduced in R2016a