sfepy.terms.terms_new module¶
- todo:
get row variable, col variable (if diff_var)
determine out shape
set current group to all variable arguments
- loop over row/col dofs:
- call term
? 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]¶ Call signature: 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]¶ Call signature: 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]¶ Call signature: 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]¶ Call signature: dw_new_mass (virtual, state)
Works for both scalar and vector variables.
-
arg_types
= ('virtual', 'state')¶
-
name
= 'dw_new_mass'¶
-