methodAvailable
custom_physics
Create a scalar Weak Form PDE backed by Telion's v2 runtime. The backend currently executes linear scalar weak forms such as ``test(c)*(source-alpha*(c-offset))`` and the coefficient-form gradient expression. Unsupported or nonlinear weak syntax is rejected by the solver instead of being treated as a Python-only placeholder.
Reference contract
| Field | Value | Description |
|---|---|---|
| symbol | telion_api.Model.custom_physics | — |
| signature | (label: 'str', dependent_variables: 'str' = 'u', weak: 'str' = 'test(u)*u', selection: 'str' = 'all', initial_value: 'str' = '0') -> 'Feature' | — |
| return | Feature | — |
Create a scalar Weak Form PDE backed by Telion's v2 runtime. The backend currently executes linear scalar weak forms such as test(c)*(source-alpha*(c-offset)) and the coefficient-form gradient expression. Unsupported or nonlinear weak syntax is rejected by the solver instead of being treated as a Python-only placeholder.
Contract
| Property | Value |
|---|---|
| symbol | telion_api.Model.custom_physics |
| signature | (label: 'str', dependent_variables: 'str' = 'u', weak: 'str' = 'test(u)*u', selection: 'str' = 'all', initial_value: 'str' = '0') -> 'Feature' |
| return | Feature |
Signature
telion_api.Model.custom_physics(label: 'str', dependent_variables: 'str' = 'u', weak: 'str' = 'test(u)*u', selection: 'str' = 'all', initial_value: 'str' = '0') -> 'Feature'