Giter Club home page Giter Club logo

mcstasmcxtrace / mccode Goto Github PK

View Code? Open in Web Editor NEW
76.0 16.0 52.0 1.53 GB

The home of the McStas (neutrons) and McXtrace (x-rays) Monte-Carlo ray-tracing instrument simulation codes.

Home Page: https://github.com/McStasMcXtrace/McCode/wiki

License: GNU General Public License v3.0

Shell 2.34% CMake 1.81% C 18.73% Fortran 51.26% C++ 0.01% Inno Setup 0.06% Makefile 0.08% Perl 5.02% HTML 0.71% Python 14.68% Batchfile 0.01% Yacc 2.29% Roff 0.07% MATLAB 1.04% JavaScript 0.84% R 0.02% CSS 0.05% Rich Text Format 0.31% Raku 0.61% IDL 0.06%
c neutron x-ray scientific-computing simulation raytracing

mccode's People

Contributors

ajj avatar anders-markvardsen avatar antoinepado avatar climbcat avatar ddatntu avatar ebknudsen avatar esbenklinkby avatar fahima-islam avatar farhi avatar farhi2 avatar g5t avatar granrothge avatar jorobledo avatar jwuttke avatar lomholy avatar mads-bertelsen avatar markusappel avatar martincramerpedersen avatar morbidslug avatar sq-meng avatar t-weber avatar theogutt avatar tkittel avatar trnielsen avatar tweber-ill avatar vickielynch avatar willend avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mccode's Issues

pgplot installation

Reported by erkn on 11 Sep 2009 12:21 UTC
Installation fails when installing on a ubuntu-class system which has installed pgplot from the regular apt-repositories.

make test doesn't test JUMP

Reported by sbhr on 22 Aug 2009 19:53 UTC
None of the built-in tests include the JUMP-statement, rendering it difficult to test.

Use buildbot to ensure Mc* codebase works

Reported by msiebuhr on 24 Aug 2009 14:47 UTC
It would be nice to use a tool such as BuildBot (http://buildbot.net/) to continually test the code in SVN in various ways.

About buildbot: it is a program that automatically checks out the software on different platforms (works on Linux, Windows, Mac OS X and others), builds it, runs tests and reports any errors it runs into. This will help catch corner-cases where one change breaks something in a different part of McStas

Use buildbot to ensure Mc* codebase works

Reported by msiebuhr on 24 Aug 2009 14:47 UTC
It would be nice to use a tool such as BuildBot (http://buildbot.net/) to continually test the code in SVN in various ways.

About buildbot: it is a program that automatically checks out the software on different platforms (works on Linux, Windows, Mac OS X and others), builds it, runs tests and reports any errors it runs into. This will help catch corner-cases where one change breaks something in a different part of McStas

Collimator radial

Reported by farhi on 13 Oct 2009 13:41 UTC
The 'official' collimator radial does not produce same results as the other contrib ones (d20 and exact).

an example would be:

COMPONENT collimador_d20 = Collimator_ROC(

 ROC_pitch=R_pitch, ROC_ri=R_ri, ROC_ro=R_ro, ROC_h=R_h,   

 ROC_ttmin=R_ttmin, ROC_ttmax=R_ttmax, ROC_sign=-1) 

WHEN (R_present==1)

AT (0, 0, 0) RELATIVE Sample

COMPONENT collimador_rad = Collimator_radial(

 nchan=32, nslit=ceil((R_ttmax-R_ttmin)/32/R_pitch), 
 w1=0.015, w2=0.015, radius=R_ri, length=R_ro-R_ri, h1=R_h, h2=R_h,

 theta_min=R_ttmin, theta_max=R_ttmax, roc=0, verbose=1)

WHEN (R_present==2)

AT (0, 0, 0) RELATIVE Sample

COMPONENT collimador_contrib = Exact_radial_coll(

 nslit=ceil(128/R_pitch), radius=R_ri, length=R_ro-R_ri, h_in=R_h, h_out=R_h,

 theta_min=R_ttmin, theta_max=R_ttmax, verbose=1) 

WHEN (R_present==3)

AT (0, 0, 0) RELATIVE Sample

The Collimator_radial let most of the Al rings from a cryostat go through (not good).
Please use Exact_radial_coll as a fix.

Instrument D1B attached as a test.

make test doesn't test JUMP

Reported by sbhr on 22 Aug 2009 19:53 UTC
None of the built-in tests include the JUMP-statement, rendering it difficult to test.

pgplot installation

Reported by erkn on 11 Sep 2009 12:21 UTC
Installation fails when installing on a ubuntu-class system which has installed pgplot from the regular apt-repositories.

pgplot installation

Reported by erkn on 11 Sep 2009 12:21 UTC
Installation fails when installing on a ubuntu-class system which has installed pgplot from the regular apt-repositories.

zero weight coherent scattering chains in Single_crystal

Reported by erkn on 25 Nov 2009 13:03 UTC
If incoherent scattering is set to 0, Single crystal may end up in nonending scattering chains with neutron weight set to 0. The particular cause is the probability for tunneling may be <1.

Thus the neutron may end up in the scattering branch, but if no coherent peaks are in the vicinity the weight is simply set to zero (unchecked for). There's a mixing of monte carlo/real scattering models here

zero weight coherent scattering chains in Single_crystal

Reported by erkn on 25 Nov 2009 13:03 UTC
If incoherent scattering is set to 0, Single crystal may end up in nonending scattering chains with neutron weight set to 0. The particular cause is the probability for tunneling may be <1.

Thus the neutron may end up in the scattering branch, but if no coherent peaks are in the vicinity the weight is simply set to zero (unchecked for). There's a mixing of monte carlo/real scattering models here

grammar: replace OUTPUT keyword with an enhanced DECLARE mechanism

Reported by farhi on 29 Jan 2010 16:58 UTC
OUTPUT PARAMETERS is currently redundant with DECLARE.

A new DECARE(type name=default_value ; ...) syntax will enable further internal evolutions (e.g. struct argument passing between components and better multi-threading).

Use buildbot to ensure Mc* codebase works

Reported by msiebuhr on 24 Aug 2009 14:47 UTC
It would be nice to use a tool such as BuildBot (http://buildbot.net/) to continually test the code in SVN in various ways.

About buildbot: it is a program that automatically checks out the software on different platforms (works on Linux, Windows, Mac OS X and others), builds it, runs tests and reports any errors it runs into. This will help catch corner-cases where one change breaks something in a different part of McStas

grammar: replace OUTPUT keyword with an enhanced DECLARE mechanism

Reported by farhi on 29 Jan 2010 16:58 UTC
OUTPUT PARAMETERS is currently redundant with DECLARE.

A new DECARE(type name=default_value ; ...) syntax will enable further internal evolutions (e.g. struct argument passing between components and better multi-threading).

Test ticket

Reported by anonymous on 21 Aug 2009 12:07 UTC
Hello,

this is just a test.

make test doesn't test JUMP

Reported by sbhr on 22 Aug 2009 19:53 UTC
None of the built-in tests include the JUMP-statement, rendering it difficult to test.

grammar: replace OUTPUT keyword with an enhanced DECLARE mechanism

Reported by farhi on 29 Jan 2010 16:58 UTC
OUTPUT PARAMETERS is currently redundant with DECLARE.

A new DECARE(type name=default_value ; ...) syntax will enable further internal evolutions (e.g. struct argument passing between components and better multi-threading).

pgplot installation

Reported by erkn on 11 Sep 2009 12:21 UTC
Installation fails when installing on a ubuntu-class system which has installed pgplot from the regular apt-repositories.

Test ticket

Reported by anonymous on 21 Aug 2009 12:07 UTC
Hello,

this is just a test.

zero weight coherent scattering chains in Single_crystal

Reported by erkn on 25 Nov 2009 13:03 UTC
If incoherent scattering is set to 0, Single crystal may end up in nonending scattering chains with neutron weight set to 0. The particular cause is the probability for tunneling may be <1.

Thus the neutron may end up in the scattering branch, but if no coherent peaks are in the vicinity the weight is simply set to zero (unchecked for). There's a mixing of monte carlo/real scattering models here

Use buildbot to ensure Mc* codebase works

Reported by msiebuhr on 24 Aug 2009 14:47 UTC
It would be nice to use a tool such as BuildBot (http://buildbot.net/) to continually test the code in SVN in various ways.

About buildbot: it is a program that automatically checks out the software on different platforms (works on Linux, Windows, Mac OS X and others), builds it, runs tests and reports any errors it runs into. This will help catch corner-cases where one change breaks something in a different part of McStas

make test doesn't test JUMP

Reported by sbhr on 22 Aug 2009 19:53 UTC
None of the built-in tests include the JUMP-statement, rendering it difficult to test.

Collimator radial

Reported by farhi on 13 Oct 2009 13:41 UTC
The 'official' collimator radial does not produce same results as the other contrib ones (d20 and exact).

an example would be:

COMPONENT collimador_d20 = Collimator_ROC(

 ROC_pitch=R_pitch, ROC_ri=R_ri, ROC_ro=R_ro, ROC_h=R_h,   

 ROC_ttmin=R_ttmin, ROC_ttmax=R_ttmax, ROC_sign=-1) 

WHEN (R_present==1)

AT (0, 0, 0) RELATIVE Sample

COMPONENT collimador_rad = Collimator_radial(

 nchan=32, nslit=ceil((R_ttmax-R_ttmin)/32/R_pitch), 
 w1=0.015, w2=0.015, radius=R_ri, length=R_ro-R_ri, h1=R_h, h2=R_h,

 theta_min=R_ttmin, theta_max=R_ttmax, roc=0, verbose=1)

WHEN (R_present==2)

AT (0, 0, 0) RELATIVE Sample

COMPONENT collimador_contrib = Exact_radial_coll(

 nslit=ceil(128/R_pitch), radius=R_ri, length=R_ro-R_ri, h_in=R_h, h_out=R_h,

 theta_min=R_ttmin, theta_max=R_ttmax, verbose=1) 

WHEN (R_present==3)

AT (0, 0, 0) RELATIVE Sample

The Collimator_radial let most of the Al rings from a cryostat go through (not good).
Please use Exact_radial_coll as a fix.

Instrument D1B attached as a test.

Test ticket

Reported by anonymous on 21 Aug 2009 12:07 UTC
Hello,

this is just a test.

Test ticket

Reported by anonymous on 21 Aug 2009 12:07 UTC
Hello,

this is just a test.

Collimator radial

Reported by farhi on 13 Oct 2009 13:41 UTC
The 'official' collimator radial does not produce same results as the other contrib ones (d20 and exact).

an example would be:

COMPONENT collimador_d20 = Collimator_ROC(

 ROC_pitch=R_pitch, ROC_ri=R_ri, ROC_ro=R_ro, ROC_h=R_h,   

 ROC_ttmin=R_ttmin, ROC_ttmax=R_ttmax, ROC_sign=-1) 

WHEN (R_present==1)

AT (0, 0, 0) RELATIVE Sample

COMPONENT collimador_rad = Collimator_radial(

 nchan=32, nslit=ceil((R_ttmax-R_ttmin)/32/R_pitch), 
 w1=0.015, w2=0.015, radius=R_ri, length=R_ro-R_ri, h1=R_h, h2=R_h,

 theta_min=R_ttmin, theta_max=R_ttmax, roc=0, verbose=1)

WHEN (R_present==2)

AT (0, 0, 0) RELATIVE Sample

COMPONENT collimador_contrib = Exact_radial_coll(

 nslit=ceil(128/R_pitch), radius=R_ri, length=R_ro-R_ri, h_in=R_h, h_out=R_h,

 theta_min=R_ttmin, theta_max=R_ttmax, verbose=1) 

WHEN (R_present==3)

AT (0, 0, 0) RELATIVE Sample

The Collimator_radial let most of the Al rings from a cryostat go through (not good).
Please use Exact_radial_coll as a fix.

Instrument D1B attached as a test.

make test doesn't test JUMP

Reported by sbhr on 22 Aug 2009 19:53 UTC
None of the built-in tests include the JUMP-statement, rendering it difficult to test.

Test ticket

Reported by anonymous on 21 Aug 2009 12:07 UTC
Hello,

this is just a test.

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.