sfepy.terms.terms_surface module

class sfepy.terms.terms_surface.ContactPlaneTerm(*args, **kwargs)[source]
Call signature

dw_contact_plane

(material_f, material_n, material_a, material_b, virtual, state)

arg_shapes = {'material_a': '.: D', 'material_b': '.: N, D', 'material_f': '1, 2', 'material_n': '.: D', 'state': 'D', 'virtual': ('D', 'state')}
arg_types = ('material_f', 'material_n', 'material_a', 'material_b', 'virtual', 'state')
static function(out, force, normal, geo, fmode)[source]
geometries = ['3_4', '3_8']
get_fargs(force_pars, normal, anchor, bounds, virtual, state, mode=None, term_mode=None, diff_var=None, **kwargs)[source]
integration = 'surface'
name = 'dw_contact_plane'
static smooth_f(d, k, f0, a, eps, diff)[source]
class sfepy.terms.terms_surface.ContactSphereTerm(*args, **kwargs)[source]
Call signature

dw_contact_sphere

(material_f, material_c, material_r, virtual, state)

arg_shapes = {'material_c': '.: D', 'material_f': '1, 2', 'material_r': '.: 1', 'state': 'D', 'virtual': ('D', 'state')}
arg_types = ('material_f', 'material_c', 'material_r', 'virtual', 'state')
static function(out, force, normals, fd, geo, fmode)[source]
geometries = ['3_4', '3_8']
get_fargs(force_pars, centre, radius, virtual, state, mode=None, term_mode=None, diff_var=None, **kwargs)[source]
integration = 'surface'
name = 'dw_contact_sphere'
class sfepy.terms.terms_surface.LinearTractionTerm(name, arg_str, integral, region, **kwargs)[source]
Call signature

dw_surface_ltr

(opt_material, virtual)

(opt_material, parameter)

arg_shapes = [{'opt_material': 'S, 1', 'virtual': ('D', None), 'parameter': 'D'}, {'opt_material': 'D, 1'}, {'opt_material': '1, 1'}, {'opt_material': 'D, D'}, {'opt_material': None}]
arg_types = (('opt_material', 'virtual'), ('opt_material', 'parameter'))
static d_fun(out, traction, val, sg)[source]
get_eval_shape(traction, virtual, mode=None, term_mode=None, diff_var=None, **kwargs)[source]
get_fargs(traction, virtual, mode=None, term_mode=None, diff_var=None, **kwargs)[source]
integration = 'surface'
modes = ('weak', 'eval')
name = 'dw_surface_ltr'
set_arg_types()[source]
class sfepy.terms.terms_surface.SDLinearTractionTerm(name, arg_str, integral, region, **kwargs)[source]
Call signature

ev_sd_surface_ltr

(opt_material, parameter, parameter_mv)

arg_shapes = [{'opt_material': 'S, 1', 'parameter': 'D', 'parameter_mv': 'D'}, {'opt_material': '1, 1'}, {'opt_material': 'D, 1'}, {'opt_material': 'D, D'}, {'opt_material': None}]
arg_types = ('opt_material', 'parameter', 'parameter_mv')
static d_fun(out, traction, val, grad_mv, div_mv, sg)[source]
get_eval_shape(traction, par_u, par_mv, mode=None, term_mode=None, diff_var=None, **kwargs)[source]
get_fargs(traction, par_u, par_mv, mode=None, term_mode=None, diff_var=None, **kwargs)[source]
integration = 'surface'
name = 'ev_sd_surface_ltr'
set_arg_types()[source]
class sfepy.terms.terms_surface.SDSufaceIntegrateTerm(name, arg_str, integral, region, **kwargs)[source]
Call signature

ev_sd_surface_integrate

(parameter, parameter_mesh_velocity)

arg_shapes = {'parameter': 1, 'parameter_mesh_velocity': 'D'}
arg_types = ('parameter', 'parameter_mesh_velocity')
static function(out, val_p, div_v, sg)[source]
get_eval_shape(par, par_v, mode=None, term_mode=None, diff_var=None, **kwargs)[source]
get_fargs(par, par_v, mode=None, term_mode=None, diff_var=None, **kwargs)[source]
integration = 'surface'
name = 'ev_sd_surface_integrate'
class sfepy.terms.terms_surface.SufaceNormalDotTerm(name, arg_str, integral, region, **kwargs)[source]
Call signature

dw_surface_ndot

(material, virtual)

(material, parameter)

arg_shapes = {'material': 'D, 1', 'parameter': 1, 'virtual': (1, None)}
arg_types = (('material', 'virtual'), ('material', 'parameter'))
static d_fun(out, material, val, sg)[source]
static dw_fun(out, material, bf, sg)[source]
get_eval_shape(mat, virtual, mode=None, term_mode=None, diff_var=None, **kwargs)[source]
get_fargs(mat, virtual, mode=None, term_mode=None, diff_var=None, **kwargs)[source]
integration = 'surface'
modes = ('weak', 'eval')
name = 'dw_surface_ndot'
set_arg_types()[source]
class sfepy.terms.terms_surface.SurfaceJumpTerm(name, arg_str, integral, region, **kwargs)[source]
Call signature

dw_jump

(opt_material, virtual, state_1, state_2)

arg_shapes = [{'opt_material': '1, 1', 'virtual': (1, None), 'state_1': 1, 'state_2': 1}, {'opt_material': None}]
arg_types = ('opt_material', 'virtual', 'state_1', 'state_2')
static function(out, jump, mul, bf1, bf2, sg, fmode)[source]
get_fargs(coef, virtual, state1, state2, mode=None, term_mode=None, diff_var=None, **kwargs)[source]
integration = 'surface'
name = 'dw_jump'