class Elementary_Surface(UserASSD): pass
class StudySD(ASSD) : pass
class Specie(UserASSD) : pass
-class Bondedparticle(UserASSD) : pass
+class BondedParticle(UserASSD) : pass
def creeSpecie(MC) :
MC.creeObjetClasse(Specie)
return
-def creeBondedparticle(MC) :
- MC.creeObjetClasse(Bondedparticle)
+def creeBondedParticle(MC) :
+ MC.creeObjetClasse(BondedParticle)
return
def creeSurfaceElementaire(MC) :
List_Of_Bonded_Particles = FACT( statut='f',
# -------------------------------------------#
Bonded_Particles = FACT( statut='o', max = "**",
- Name_Of_Bonded_Particles = SIMP( statut='o', typ='TXM',siValide=creeBondedparticle ),
+ Name_Of_Bonded_Particles = SIMP( statut='o', typ='TXM',siValide=creeBondedParticle ),
Species_in_Particle = SIMP( statut='o', min=2, typ=Specie , max = "**"),
), # Bonded_Particles
), # List_Of_Bonded_Particles
Type_Of_Bonded_Interaction = SIMP( statut='o', typ='TXM', into=['No', 'Covalent Bond Length', 'FENE', 'Covalent Bond Angle', 'Dihedral Angles', 'Improper Dihedral', 'Frozen Motion' ], defaut='No', position='global'),
- bloc_covalent_1 = BLOC( condition = 'Type_Of_Bonded_Interaction in ("Covalent Bond Length","FENE")',
- Name_of_Bonded_Particle = SIMP( statut='o', typ=Bondedparticle),
- ), # fin bloc_covalent_1
+ #La saisie de l'ensemble des liaisons d'un meme type peut se faire ds le meme bloc (soit ds un fichier, soit manuelle)
+ #Une seule valeur de distante? est a saisir pour l'ensemble
+ # bloc_covalent_1 = BLOC( condition = 'Type_Of_Bonded_Interaction in ("Covalent Bond Length","FENE")',
+ # Name_of_Bonded_Particle = SIMP( statut='o', typ=BondedParticle),
+ # ), # fin bloc_covalent_1
bloc_covalent_length_and_angle = BLOC( condition = 'Type_Of_Bonded_Interaction == "Covalent Bond Length" or Type_Of_Bonded_Interaction == "Covalent Bond Angle"',
- Bond_Length_Parameters = FACT( statut='o', max="**",
- Species_Pair = SIMP( statut='o', max=2, typ='TXM'),
+ Bond_Parameters = FACT( statut='o', max="**",
+ Apply_To_Bonded_Particles = SIMP( statut='o', max='**', typ=BondedParticle),
Spring_Stifness = SIMP( statut='o', typ='R', val_min=0),
- bloc_covalent_lengtht = BLOC( condition = 'Type_Of_Bonded_Interaction == "Covalent Bond Length"',
+ bloc_covalent_length = BLOC( condition = 'Type_Of_Bonded_Interaction == "Covalent Bond Length"',
Mean_Bond_Length = SIMP( statut='o', typ='R', val_min=0),
), # fin Bond_Length_Parameters
bloc_covalent_angle = BLOC( condition = 'Type_Of_Bonded_Interaction == "Covalent Bond Angle"',