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
Beispiel #2
0
    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
         }))
Beispiel #4
0
 def __init__(self, bl):
     super(blmat_teb, self).__init__( util.dictobj( { 'lmax' : len(bl)-1,
                                                      'cltt' : bl,
                                                      'clee' : bl,
                                                      'clbb' : bl } ) )