Compare commits

..

No commits in common. "6e98a76e03bb10c2ad59c652987ad1ff62cf2a00" and "34d77ad2ac9dda76f0b58c6cf0e112aed18802cb" have entirely different histories.

1 changed files with 1 additions and 4 deletions

View File

@ -246,10 +246,7 @@ class PPP:
dim = (ie-ib+1+2*self.nghx,
je-jb+1+2*self.nghy,
ke-kb+1+2*self.nghz)
if pseudo:
return Field3d.pseudo_field(dim,origin,self.spacing)
else:
return Field3d.allocate(dim,origin,self.spacing,fill=fill,dtype=dtype)
return Field3d.allocate(dim,origin,self.spacing,fill=fill,pseudo=pseudo,dtype=dtype)
def qcriterion(self,key_out=None,from_pressure=False,keep_derivatives=False):
'''Computes Q-criterion'''