def __init__(self, aneurysm, near_vessel, *args, **kwargs): Field.__init__(self, *args, **kwargs) self.aneurysm = aneurysm self.near_vessel = near_vessel self.Vnv = assemble(Constant(1)*dx(near_vessel[1], domain=near_vessel[0].mesh(), subdomain_data=near_vessel[0])) self.Va = assemble(Constant(1)*dx(aneurysm[1], domain=aneurysm[0].mesh(), subdomain_data=aneurysm[0]))
def __init__(self, valuename, nu, subdomain, *args, **kwargs): Field.__init__(self, *args, **kwargs) self.valuename = valuename mf = subdomain[0] idx = subdomain[1] self.dx = dx(idx, domain=mf.mesh(), subdomain_data=mf) self.vol = assemble(Constant(1) * self.dx) self.nu = nu
def __init__(self, valuename, nu, subdomain,*args, **kwargs): Field.__init__(self, *args, **kwargs) self.valuename = valuename mf = subdomain[0] idx = subdomain[1] self.dx = dx(idx, domain=mf.mesh(), subdomain_data=mf) self.vol = assemble(Constant(1)*self.dx) self.nu = nu
def __init__(self, aneurysm, near_vessel, *args, **kwargs): Field.__init__(self, *args, **kwargs) self.aneurysm = aneurysm self.near_vessel = near_vessel self.Vnv = assemble( Constant(1) * dx(near_vessel[1], domain=near_vessel[0].mesh(), subdomain_data=near_vessel[0])) self.Va = assemble( Constant(1) * dx(aneurysm[1], domain=aneurysm[0].mesh(), subdomain_data=aneurysm[0]))
def __init__(self, aneurysm_domain, *args, **kwargs): Field.__init__(self, *args, **kwargs) self.aneurysm_domain = aneurysm_domain
def __init__(self, aneurysm, near_vessel, *args, **kwargs): Field.__init__(self, *args, **kwargs) self.aneurysm = aneurysm self.near_vessel = near_vessel
def __init__(self, params=None): Field.__init__(self, params=params) self.touched = 0 self.finalized = False
def __init__(self, V, params=None): Field.__init__(self, params) self.f = Function(V)
def __init__(self, Q, params=None, **args): Field.__init__(self, params, **args) self.f = Function(Q)
def __init__(self, upstream_planes, downstream_planes, rho, *args, **kwargs): Field.__init__(self, *args, **kwargs) self.upstream_planes = upstream_planes self.downstream_planes = downstream_planes self.rho = rho
def __init__(self, neck, pa_planes, *args, **kwargs): Field.__init__(self, *args, **kwargs) self.neck, self.necknormal = neck[0], neck[1] self.pa_planes = pa_planes
def __init__(self, aneurysm_domain, parent_artery, *args, **kwargs): Field.__init__(self, *args, **kwargs) self.aneurysm_domain = aneurysm_domain self.parent_artery = parent_artery assert self.params.method in ["Xiang", "Cebral"]