Exemple #1
0
 def __init__(self, symbols):
     potential_type = GeneralizedLennardJonesPotential.potential_type
     PairPotential.__init__(self,
                            symbols=symbols,
                            potential_type=potential_type,
                            is_charge=False)
     self.function_pair = func_pair_generalized_lj_w_cutoff
Exemple #2
0
 def __init__(self, symbols):
     potential_type = GeneralizedLennardJonesPotential.potential_type
     PairPotential.__init__(self,
                            symbols=symbols,
                            potential_type=potential_type,
                            is_charge=False)
     self.pair_function = GeneralizedLennardJonesPotential.pair_function
Exemple #3
0
 def __init__(self, symbols):
     PairPotential.__init__(self,
                            symbols,
                            potential_type='lj',
                            is_charge=False)
     self.initialize_parameter_names()
     self.initialize_parameters()
Exemple #4
0
 def __init__(self, symbols):
     self.pair_potential_parameters = ['b1', 'b2', 'r1', 'V0', 'delta']
     self.potential_type_name = 'general_lj'
     PairPotential.__init__(self,
                            symbols=symbols,
                            potential_type=self.potential_type_name,
                            is_charge=False)
     self.function_pair = function_generalized_lj_pair
Exemple #5
0
    def __init__(self, symbols):

        PairPotential.__init__(self,
                               symbols,
                               potential_type='buckingham',
                               is_charge=True)

        # override the base attributes
        self.pair_potential_parameters = self.PAIR_POTENTIAL_PARAMETERS
Exemple #6
0
 def __init__(self, symbols):
     self.pair_potential_parameters = self.pair_potential_parameters
     PairPotential.__init__(self,
                            symbols,
                            potential_type=self.potential_type,
                            is_charge=False)
Exemple #7
0
 def __init__(self,symbols):
     self.pair_potential_parameters = ['phi0','gamma','r0']
     PairPotential.__init__(self,
             symbols,
             potential_type='bornmeyer',
             is_charge=False)
Exemple #8
0
 def __init__(self, symbols):
     self.pair_potential_parameters = ['D0', 'a', 'r0']
     PairPotential.__init__(self,
                            symbols=symbols,
                            potential_type='morse',
                            is_charge=False)