Calculator.py
def assemble_analytical_reference_kernel_2(self):
        """Create an analytical expression for Coulomb kernel, simplified from that created in the reference kernel method above.
        
        The material is a graphene sheet encapsulated by two uniaxial layers in an isotropic medium (permittivity of 
        medium above and below the material can be different). 
        
        Args:
             None
        
        Return:
            void
        
        """
        epsilon_x,epsilon_z,epsilon_a,epsilon_b,e,q,d = sympy.symbols('epsilon_x,epsilon_z,epsilon_a,epsilon_b,e,q,d')
        v_q = 4*sympy.pi*e**2/(q*(epsilon_a+epsilon_b))
        V = v_q*sympy.Rational(1,2)*(
                sympy.sqrt(epsilon_x*epsilon_z)+(epsilon_a+epsilon_b)*sympy.tanh(q*d*sympy.sqrt(epsilon_x/epsilon_z))
            )/(
                sympy.sqrt(epsilon_x*epsilon_z)+(epsilon_x*epsilon_z+epsilon_b*epsilon_a)*sympy.tanh(q*d*sympy.sqrt(epsilon_x/epsilon_z))/(epsilon_a+epsilon_b)
                )
        
        self.analyticalReferenceKernel = V
Create an analytical expression for Coulomb kernel, simplified from that created in the reference kernel method above.
        
        The material is a graphene sheet encapsulated by two uniaxial layers in an isotropic medium (permittivity of 
        medium above and below the material can be different). 
        
        Args:
             None
        
        Return:
            void
        
        
Create an analytical expression for Coulomb kernel, simplified from that created in the reference kernel method above.
The material is a graphene sheet encapsulated by two uniaxial layers in an isotropic medium (permittivity of
medium above and below the material can be different).

None

void
Create an analytical expression for Coulomb kernel simplified from that created in the reference kernel method above . The material is a graphene sheet encapsulated by two uniaxial layers in an isotropic medium ( permittivity of medium above and below the material can be different ) . None void
def assemble_analytical_reference_kernel_2(self):
        epsilon_x,epsilon_z,epsilon_a,epsilon_b,e,q,d = sympy.symbols('epsilon_x,epsilon_z,epsilon_a,epsilon_b,e,q,d')
        v_q = 4*sympy.pi*e**2/(q*(epsilon_a+epsilon_b))
        V = v_q*sympy.Rational(1,2)*(
                sympy.sqrt(epsilon_x*epsilon_z)+(epsilon_a+epsilon_b)*sympy.tanh(q*d*sympy.sqrt(epsilon_x/epsilon_z))
            )/(
                sympy.sqrt(epsilon_x*epsilon_z)+(epsilon_x*epsilon_z+epsilon_b*epsilon_a)*sympy.tanh(q*d*sympy.sqrt(epsilon_x/epsilon_z))/(epsilon_a+epsilon_b)
                )
        self.analyticalReferenceKernel = V
def assemble_analytical_reference_kernel_2 ( self ) : epsilon_x , epsilon_z , epsilon_a , epsilon_b , e , q , d = sympy . symbols ( 'epsilon_x,epsilon_z,epsilon_a,epsilon_b,e,q,d' ) v_q = 4 * sympy . pi * e ** 2 / ( q * ( epsilon_a + epsilon_b ) ) V = v_q * sympy . Rational ( 1 , 2 ) * ( sympy . sqrt ( epsilon_x * epsilon_z ) + ( epsilon_a + epsilon_b ) * sympy . tanh ( q * d * sympy . sqrt ( epsilon_x / epsilon_z ) ) ) / ( sympy . sqrt ( epsilon_x * epsilon_z ) + ( epsilon_x * epsilon_z + epsilon_b * epsilon_a ) * sympy . tanh ( q * d * sympy . sqrt ( epsilon_x / epsilon_z ) ) / ( epsilon_a + epsilon_b ) ) self . analyticalReferenceKernel = V
Create an analytical expression for Coulomb kernel, simplified from that created in the reference kernel method above.
Create an analytical expression for Coulomb kernel simplified from that created in the reference kernel method above .
"""Create an analytical expression for Coulomb kernel, simplified from that created in the reference kernel method above.
        
        The material is a graphene sheet encapsulated by two uniaxial layers in an isotropic medium (permittivity of 
        medium above and below the material can be different). 
        
        Args:
             None
        
        Return:
            void
        
        """
self