Check term argument existence in variables, materials, user data and assign the arguments to terms. Also check compatibility of field and term subdomain lists (igs).
Common checking to all terms.
Check compatibility of field and term subdomain lists (igs).
Default implementation of function to check term argument shapes at run-time.
Classify types of the term arguments and find matching call signature.
A state variable can be in place of a parameter variable and vice versa.
Evaluate the term.
Parameters: | mode : ‘eval’ (default), or ‘weak’
|
---|---|
Returns: | val : float or array
status : int, optional
iels : array of ints, optional
|
Get the named quantity related to the variable.
Notes
This is a convenience wrapper of Variable.evaluate() that initializes the arguments using the term data.
Return approximation corresponding to variable. Also return the corresponding geometry (actual or saved, according to get_saved).
Get the name of the argument specified by arg_type.
Parameters: | arg_type : str
full : bool
join : str, optional
|
---|---|
Returns: | name : str
|
Return arguments by type as specified in arg_types (or self.ats). Arguments in **kwargs can override the ones assigned at the term construction - this is useful for passing user data.
Return the assembling cell indices into a DOF connectivity.
Get data shape information from variable.
Notes
This is a convenience wrapper of FieldVariable.get_data_shape() that initializes the arguments using the term data.
Returns: | out : dict
|
---|
Extract arguments from **kwargs listed in keys (default is None).
Get the reference mapping from a variable.
Notes
This is a convenience wrapper of Field.get_mapping() that initializes the arguments using the term data.
Get physical quadrature points corresponding to the term region and integral.
If variables are given, return only true unknowns whose data are of the current time step (0).
Get the vector stored in variable according to self.arg_steps and self.arg_derivatives. Supports only the backward difference w.r.t. time.
Translate arg_types of a Term to a canonical form.
Parameters: | arg_types : tuple of strings
|
---|---|
Returns: | arg_kinds : list of strings
|
Get data shape kind for given integration type.
Split complex arguments to real and imaginary parts.
Returns: | newargs : dictionary
|
---|