Several model files in micromegas

Asked by Catalina Espinoza

Hello,

I would like to know the procedure of telling micromegas which model to use when we have several model files, for example func1.mdl, func2.mdl etc in the same /work/model directory, is this possible?

For example, in the IDM that comes as example in micromegas there are 2 sets defining 2 models, but in the main.c program I cannot find something that tells me which of the two models it is using.

Thank you very much.

Question information

Language:
English Edit question
Status:
Solved
For:
CalcHEP Edit question
Assignee:
No assignee Edit question
Solved by:
Catalina Espinoza
Solved:
Last query:
Last reply:
Revision history for this message
Alexander Pukhov (pukhov) said :
#1

To work with several models one has to create special directory for
each model using command
  ./newProject name_of_directory.

Working with one model you can change parameter by means of
    assignValW( name,value)
command.

Best
    Alexander Pukhov

On 12/30/2017 03:32 AM, Catalina Espinoza wrote:
> New question #662385 on CalcHEP:
> https://answers.launchpad.net/calchep/+question/662385
>
> Hello,
>
> I would like to know the procedure of telling micromegas which model to use when we have several model files, for example func1.mdl, func2.mdl etc in the same /work/model directory, is this possible?
>
> For example, in the IDM that comes as example in micromegas there are 2 sets defining 2 models, but in the main.c program I cannot find something that tells me which of the two models it is using.
>
> Thank you very much.
>
>

Revision history for this message
Alexander Belyaev (alexander.belyaev) said :
#2

Just to clarify further:

1. To work with SEVERAL models you need to create SEVERAL projects
2. Only Model #1 is used, the model #2 is not
3. If you would like to use Model #2 you need to copy it to a new project an rename it as Model#1

I hope this completely clarifies your question

Alexander Belyaev

Revision history for this message
Catalina Espinoza (macati) said :
#3

Thank you very much.

Regards.