Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinAchondo committed Jul 6, 2024
1 parent 8a905d1 commit f8dfab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xppbe/Model/Equations.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ def get_r_reg(self,mesh,model,X,SU,flag):
R = mesh.stack_X(x,y,z)
phi = self.PBE.get_phi(R,flag,model,value=self.field)
gx,gy,gz = self.PBE.gradient(mesh,model,X,flag,value=self.field)
r = self.epsilon*(gx**2+gy**2+gz**2)/2 - self.kappa**2*self.T_adim*self.PBE.aprox_sinh(phi+self.PBE.G(X)/self.T_adim) *phi
r = self.epsilon*(gx**2+gy**2+gz**2)/2 - self.kappa**2*self.T_adim*self.PBE.aprox_sinh((phi+self.PBE.G(X))/self.T_adim) *phi
return r


Expand Down

0 comments on commit f8dfab0

Please sign in to comment.