Calculator.py
def assemble_analytical_reference_kernel(self):
        """Create an analytical expression for Coulomb kernel from Alonso-Gonzalez et al., Nature Nanotechnology 185, 2016.
        
        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,d1,d2 = sympy.symbols('epsilon_x,epsilon_z,epsilon_a,epsilon_b,e,q,d1,d2')
        v_q = 4*sympy.pi*e**2/(q*(epsilon_a+epsilon_b))
        epsilon_tilta = (epsilon_a*epsilon_b+epsilon_x*epsilon_z)/(epsilon_a+epsilon_b)
        V = v_q*sympy.Rational(1,2)*(sympy.sqrt(epsilon_x*epsilon_z)
                                     + (epsilon_a+epsilon_b)*sympy.tanh(q*sympy.sqrt(epsilon_x/epsilon_z)*(d1+d2))
                                     + (epsilon_b-epsilon_a)*sympy.sinh(q*sympy.sqrt(epsilon_x/epsilon_z)*(d1-d2))/sympy.cosh(q*sympy.sqrt(epsilon_x/epsilon_z)*(d1+d2))
                                     + (sympy.sqrt(epsilon_x*epsilon_z)-epsilon_a*epsilon_b/sympy.sqrt(epsilon_x*epsilon_z))*sympy.cosh(q*sympy.sqrt(epsilon_x/epsilon_z)*(d2-d1))/sympy.cosh(q*sympy.sqrt(epsilon_x/epsilon_z)*(d1+d2))
                                     + epsilon_a*epsilon_b/sympy.sqrt(epsilon_x*epsilon_z)
                                     )/(
                                         sympy.sqrt(epsilon_x*epsilon_z)+epsilon_tilta*sympy.tanh(q*sympy.sqrt(epsilon_x/epsilon_z)*(d1+d2))
                                         )
        
        self.analyticalReferenceKernel = V
Create an analytical expression for Coulomb kernel from Alonso-Gonzalez et al., Nature Nanotechnology 185, 2016.
        
        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 from Alonso-Gonzalez et al., Nature Nanotechnology 185, 2016.
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 from Alonso - Gonzalez et al . Nature Nanotechnology 185 2016 . 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(self):
        epsilon_x,epsilon_z,epsilon_a,epsilon_b,e,q,d1,d2 = sympy.symbols('epsilon_x,epsilon_z,epsilon_a,epsilon_b,e,q,d1,d2')
        v_q = 4*sympy.pi*e**2/(q*(epsilon_a+epsilon_b))
        epsilon_tilta = (epsilon_a*epsilon_b+epsilon_x*epsilon_z)/(epsilon_a+epsilon_b)
        V = v_q*sympy.Rational(1,2)*(sympy.sqrt(epsilon_x*epsilon_z)
                                     + (epsilon_a+epsilon_b)*sympy.tanh(q*sympy.sqrt(epsilon_x/epsilon_z)*(d1+d2))
                                     + (epsilon_b-epsilon_a)*sympy.sinh(q*sympy.sqrt(epsilon_x/epsilon_z)*(d1-d2))/sympy.cosh(q*sympy.sqrt(epsilon_x/epsilon_z)*(d1+d2))
                                     + (sympy.sqrt(epsilon_x*epsilon_z)-epsilon_a*epsilon_b/sympy.sqrt(epsilon_x*epsilon_z))*sympy.cosh(q*sympy.sqrt(epsilon_x/epsilon_z)*(d2-d1))/sympy.cosh(q*sympy.sqrt(epsilon_x/epsilon_z)*(d1+d2))
                                     + epsilon_a*epsilon_b/sympy.sqrt(epsilon_x*epsilon_z)
                                     )/(
                                         sympy.sqrt(epsilon_x*epsilon_z)+epsilon_tilta*sympy.tanh(q*sympy.sqrt(epsilon_x/epsilon_z)*(d1+d2))
                                         )
        self.analyticalReferenceKernel = V
def assemble_analytical_reference_kernel ( self ) : epsilon_x , epsilon_z , epsilon_a , epsilon_b , e , q , d1 , d2 = sympy . symbols ( 'epsilon_x,epsilon_z,epsilon_a,epsilon_b,e,q,d1,d2' ) v_q = 4 * sympy . pi * e ** 2 / ( q * ( epsilon_a + epsilon_b ) ) epsilon_tilta = ( epsilon_a * epsilon_b + epsilon_x * epsilon_z ) / ( epsilon_a + epsilon_b ) V = v_q * sympy . Rational ( 1 , 2 ) * ( sympy . sqrt ( epsilon_x * epsilon_z ) + ( epsilon_a + epsilon_b ) * sympy . tanh ( q * sympy . sqrt ( epsilon_x / epsilon_z ) * ( d1 + d2 ) ) + ( epsilon_b - epsilon_a ) * sympy . sinh ( q * sympy . sqrt ( epsilon_x / epsilon_z ) * ( d1 - d2 ) ) / sympy . cosh ( q * sympy . sqrt ( epsilon_x / epsilon_z ) * ( d1 + d2 ) ) + ( sympy . sqrt ( epsilon_x * epsilon_z ) - epsilon_a * epsilon_b / sympy . sqrt ( epsilon_x * epsilon_z ) ) * sympy . cosh ( q * sympy . sqrt ( epsilon_x / epsilon_z ) * ( d2 - d1 ) ) / sympy . cosh ( q * sympy . sqrt ( epsilon_x / epsilon_z ) * ( d1 + d2 ) ) + epsilon_a * epsilon_b / sympy . sqrt ( epsilon_x * epsilon_z ) ) / ( sympy . sqrt ( epsilon_x * epsilon_z ) + epsilon_tilta * sympy . tanh ( q * sympy . sqrt ( epsilon_x / epsilon_z ) * ( d1 + d2 ) ) ) self . analyticalReferenceKernel = V
Create an analytical expression for Coulomb kernel from Alonso-Gonzalez et al., Nature Nanotechnology 185, 2016.
Create an analytical expression for Coulomb kernel from Alonso - Gonzalez et al . Nature Nanotechnology 185 2016 .
"""Create an analytical expression for Coulomb kernel from Alonso-Gonzalez et al., Nature Nanotechnology 185, 2016.
        
        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