sfepy.terms.terms_new module
- todo:
-
? how to deal with components of (vector) variables?
- (*) for given group, Variable has to be able to:
- evaluate value in quadrature points
- evaluate gradient in quadrature points
- ? evaluate divergence in quadrature points
- ? lazy evaluation, cache!
?? base function gradients in space elements stored now in terms - in
geometry, shared dict of geometries belongs to Equations
-> where to cache stuff? - in variables!
-
class sfepy.terms.terms_new.NewDiffusionTerm(name, arg_str, integral, region, **kwargs)[source]
-
dw_new_diffusion |
(material, virtual, state) |
-
arg_types = ('material', 'virtual', 'state')
-
name = 'dw_new_diffusion'
-
class sfepy.terms.terms_new.NewLinearElasticTerm(name, arg_str, integral, region, **kwargs)[source]
-
dw_new_lin_elastic |
(material, virtual, state) |
-
arg_types = ('material', 'virtual', 'state')
-
name = 'dw_new_lin_elastic'
-
class sfepy.terms.terms_new.NewMassScalarTerm(name, arg_str, integral, region, **kwargs)[source]
-
dw_new_mass_scalar |
(virtual, state) |
-
arg_types = ('virtual', 'state')
-
name = 'dw_new_mass_scalar'
-
class sfepy.terms.terms_new.NewMassTerm(name, arg_str, integral, region, **kwargs)[source]
-
dw_new_mass |
(virtual, state) |
Works for both scalar and vector variables.
-
arg_types = ('virtual', 'state')
-
name = 'dw_new_mass'
-
class sfepy.terms.terms_new.NewTerm(name, arg_str, integral, region, **kwargs)[source]
-
evaluate(mode='eval', diff_var=None, **kwargs)[source]
-
get_geometry(variable)[source]
-
get_geometry_key(variable)[source]
-
integrate(val_qp, variable)[source]
-
set_current_group(ig)[source]
Set current group for the term and all variables in its
arguments.