<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">I am interested in porting an ecosystem model (carbon balance model) to a grass module. Currently my simulation model consists of 4 .cpp files (essentially a "main" file, a vegetation parameters file, and climate file, and a io file), and then 3 associated header files. I found the link:<DIV><BR class="khtml-block-placeholder"></DIV><DIV><A href="http://grass.itc.it/intro/modelintegration.html">http://grass.itc.it/intro/modelintegration.html</A></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Which describes simulation models that have been incorporated into grass. </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>But could also use some general advice as to "best practices" new module structure. Has anyone put together a grass module howto? Perhaps the programmers guide? I've been digging around on the wiki, but haven't found what I'm looking for yet. What I am basically asking for is to be pointed to a well done example that I should follow as "simulation model module template" </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Any suggestions?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Kirk</DIV><BR><DIV><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR class="Apple-interchange-newline"></SPAN></SPAN></SPAN> </DIV><BR></BODY></HTML>