Giter Club home page Giter Club logo

Comments (4)

Zoe-Chang1 avatar Zoe-Chang1 commented on August 30, 2024

I try to build an entire big system instead of build the single monomer. I don't know why, but it works now.

from moltemplate.

jewettaij avatar jewettaij commented on August 30, 2024

Hi Zoe
If you send me all of the moltemplate (.LT) files you are using I will have a look. Please also tell me what command you were using to invoke moltemplate.sh. For example:

moltemplate.sh monomer.txt

If this is how you were invoking moltemplate.sh, then it will not work because the "monomer.txt" file does not contain any "new" commands. When you invoke moltemplate.sh, it should probably look like this instead:

moltemplate.sh system.lt

The "system.lt" file contains "new" commands to make copies of one or more PDMS polymers.
There is typically a file named "polymer.lt" (or "PDMS.lt", or something similar) which defines what a PDMS polymer is. It will contain "new" commands which make copies of the monomer you defined in "monomer.txt".
For examples of this approach, please see:

  1. https://moltemplate.org/examples.html#butane
  2. https://github.com/jewettaij/moltemplate/tree/master/examples/all_atom/force_field_COMPASS/butane#butane-example
  3. https://moltemplate.org/doc/moltemplate_manual.pdf#section.6
    (Chapter 6 is only 2 pages long.)

Anyway, if you send me files you are confused about, I will have a look.

from moltemplate.

Zoe-Chang1 avatar Zoe-Chang1 commented on August 30, 2024

Hi Dr. Jewett,

Thank you for the hint!
I thought the command write ("Data Atoms") is the one creates the items, so I can create monomer alone by run the monomer.lt files. But I now realize I should run the script that contain the "new" command, i.e., polymer.lt in my case.

Thank you for really kind suggestions!

from moltemplate.

jewettaij avatar jewettaij commented on August 30, 2024

I'm glad this helped!
If it's okay, I will close this issue now.

from moltemplate.

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.