Coder Social home page Coder Social logo

Comments (6)

jlconlin avatar jlconlin commented on July 29, 2024

By the way, this is the input for the GROUPR2 example in the NJOY class.

from njoy21.

jlconlin avatar jlconlin commented on July 29, 2024

NJOY21 only looks for one set of Card9s and one set of Card10s, when it should look for several sets of of Card9/Card10.

from njoy21.

kahlerac avatar kahlerac commented on July 29, 2024

This input looks fine to me. You've got one temperature, per the sixth item on card 2 (and confirmed with only one entry on card 4). Card 9 (#1.1) says to process all file 3 xs's for material 125 at the one and only temperature. Card 9 (#1.2) says we're done with material 125. Card 10 is either zero to signify the end of groupr input or the next material to process. With a non-zero card 10 #2 we then repeat the card 9 sequence. When reaching card 10 #2 its the same scenario ... either zero and groupr's done or non-zero and loop back for more card 9's. We do the latter here and eventually reach card 10 #3 which properly terminates groupr input. If you're crashing in njoy21 when reading card10 #2 I'd say there's an issue with your new input processor --- Skip

from njoy21.

jlconlin avatar jlconlin commented on July 29, 2024

Thanks @kahlerac for that review. I looked at this at the end of last week and realized that the input parser was not interpreting things correctly. It did not know that’s one could have sets of cards 9 and 10, but assumed, instead, that all card 9s came, the. All card 10s came.

I think I have a fix already implemented; I just have to update the tests to reflect the changes.

from njoy21.

kahlerac avatar kahlerac commented on July 29, 2024

from njoy21.

jlconlin avatar jlconlin commented on July 29, 2024

This was fixed in #74

from njoy21.

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.