def clone(self, lmax=None): if lmax == None: lmax = self.lmax ret = clmat_teb(util.dictobj({'lmax': lmax})) ret.clmat[:, :, :] = self.clmat[0:lmax + 1, :, :] return ret
def clone(self, lmax=None): if lmax == None: lmax = self.lmax ret = clmat_teb( util.dictobj( { 'lmax' : lmax } ) ) ret.clmat[:,:,:] = self.clmat[0:lmax+1,:,:] return ret
def __init__(self, bl): super(blmat_teb, self).__init__( util.dictobj({ 'lmax': len(bl) - 1, 'cltt': bl, 'clee': bl, 'clbb': bl }))
def __init__(self, bl): super(blmat_teb, self).__init__( util.dictobj( { 'lmax' : len(bl)-1, 'cltt' : bl, 'clee' : bl, 'clbb' : bl } ) )