Code Monkey home page Code Monkey logo

Comments (4)

mrshirts avatar mrshirts commented on August 27, 2024 1

That's literally all one does, change the masses in the [ atoms ] section.

from openff-interchange.

mattwthompson avatar mattwthompson commented on August 27, 2024

@mrshirts as far as I can tell, based on your comment in the other thread and a couple of forum posts, this is as simple as modifying the masses in the [ atoms ] section of each molecule. Anything I should look out for, or anything official here?

from openff-interchange.

mattwthompson avatar mattwthompson commented on August 27, 2024

Awesome, thanks for the guidance. I have a quick patch started that should take care of this, i.e. here's an ethanol with hydrogen masses set to $\pi$:

[ defaults ]
; nbfunc	comb-rule	gen-pairs	fudgeLJ	fudgeQQ
     1	     2	yes   	0.500000	0.833333

[ atomtypes ]
;type, bondingtype, atomic_number, mass, charge, ptype, sigma, epsilon
MOL0_0     	     6	12.01078	0.0000000000000000	A    	0.337953176162662	0.4553891161106184
MOL0_1     	     6	12.01078	0.0000000000000000	A    	0.337953176162662	0.4553891161106184
MOL0_2     	     8	15.99943	0.0000000000000000	A    	0.2997159987248637	0.8764372596155737
MOL0_3     	     1	1.007947	0.0000000000000000	A    	0.2644543413268124	0.06602135607582665
MOL0_4     	     1	1.007947	0.0000000000000000	A    	0.2644543413268124	0.06602135607582665
MOL0_5     	     1	1.007947	0.0000000000000000	A    	0.2644543413268124	0.06602135607582665
MOL0_6     	     1	1.007947	0.0000000000000000	A    	0.2583225710839196	0.068656285380106
MOL0_7     	     1	1.007947	0.0000000000000000	A    	0.2583225710839196	0.068656285380106
MOL0_8     	     1	1.007947	0.0000000000000000	A    	0.0534539230883669	5.157198260534728e-05

[ moleculetype ]
MOL0	         3

[ atoms ]
;index, atom type, resnum, resname, name, cgnr, charge, mass
     1 MOL0_0       1 MOL0     C          1     -0.097099998345      5.609843039231
     2 MOL0_1       1 MOL0     C          1      0.131429998825      7.743488692820
     3 MOL0_2       1 MOL0     O          1     -0.601339997103     13.865784346410
     4 MOL0_3       1 MOL0     H          1      0.044759998719      3.141592653590
     5 MOL0_4       1 MOL0     H          1      0.044759998719      3.141592653590
     6 MOL0_5       1 MOL0     H          1      0.044759998719      3.141592653590
     7 MOL0_6       1 MOL0     H          1      0.017319998393      3.141592653590
     8 MOL0_7       1 MOL0     H          1      0.017319998393      3.141592653590
     9 MOL0_8       1 MOL0     H          1      0.398090003679      3.141592653590

...

Still needs tests, etc. but I think this passes the eye check

from openff-interchange.

mattwthompson avatar mattwthompson commented on August 27, 2024

#891

from openff-interchange.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.