fix parallel for new pseudo field routine
This commit is contained in:
parent
ec23f3acd4
commit
daf2cfda04
|
|
@ -246,7 +246,10 @@ class PPP:
|
|||
dim = (ie-ib+1+2*self.nghx,
|
||||
je-jb+1+2*self.nghy,
|
||||
ke-kb+1+2*self.nghz)
|
||||
return Field3d.allocate(dim,origin,self.spacing,fill=fill,pseudo=pseudo,dtype=dtype)
|
||||
if pseudo:
|
||||
return Field3d.pseudo_field(dim,origin,self.spacing)
|
||||
else:
|
||||
return Field3d.allocate(dim,origin,self.spacing,fill=fill,dtype=dtype)
|
||||
|
||||
def qcriterion(self,key_out=None,from_pressure=False,keep_derivatives=False):
|
||||
'''Computes Q-criterion'''
|
||||
|
|
|
|||
Loading…
Reference in New Issue