I am interested in extensions for specific modeling applications (ex. molecular dynamics).
It's hard for me to picture how this might work. All you can really do with extensions is to implement NetLogo primitives in Java/Scala/<your favorite JVM language here>. Often times, extensions are created just to allow use of Java libraries from within NetLogo code. My initial thoughts upon reading about your idea was that you might be just as well off writing the library as a '.nls' file <http://ccl.northwestern.edu/netlogo/docs/interface.html#includes> of actual NetLogo code. What kinds of NetLogo primitives do you want to add for molecular dynamics?
I would really like to look at either the source code for the things you write in the code tab or source code for extensions that deal with such topics.
For NetLogo code about molecular dynamics, see the GasLab models in the standard NetLogo Models Library. No extensions exist for molecular dynamics (to my knowledge), but an existing, well-documented extension that you could look at to observe extension code in its natural habitat is the NW extension <https://github.com/NetLogo/NW-Extension>. Another decent extension---albeit, not nearly as well-documented as NW---is the Web extension <https://github.com/NetLogo/Web-Extension> (obligatory plug). Check the source files, readmes, and wikis for plenty of information about these extensions.
If you're looking for some extensions that are simpler (or maybe just not written in Scala), check out the sample extension <https://github.com/NetLogo/Sample-Extension> and the Array extension <https://github.com/NetLogo/Array-Extension>. However, those do not have much of any documentation to accompany them, so the source files will be your only guide. We also have documentation for how to get started with writing your own extension here <https://github.com/NetLogo/NetLogo/wiki/Extensions-API#writing-extensions>.
Jason Bertsche Senior Software Developer - NetLogo On 1/4/2014 3:19 PM, [email protected] wrote:
Hello, I am working on a college project to learn development skills. I have chosen to explore NetLogo Extensions after having been introduced to the software in a modeling class. I am interested in extensions for specific modeling applications (ex. molecular dynamics). Most of the extensions I have looked at don't deal with NetLogo code, but instead UI, ability to work with additional file types, etc. I would really like to look at either the source code for the things you write in the code tab or source code for extensions that deal with such topics. I haven't been able to find either but I might be a bit oblivious. If I could get any suggestions for how to dive in like that I would be grateful. Gilbert
-- You received this message because you are subscribed to the Google Groups "netlogo-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
