# Garfield++ message meaning

**URL:** <https://root-forum.cern.ch/t/garfield-message-meaning/42533>\
**Category:** Garfield++\
**Created:** [November 30, 2020, 6:07pm UTC](https://root-forum.cern.ch/t/garfield-message-meaning/42533 "2020-11-30T18:07:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![masato](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/masato/32/38079_2.png) [@masato](https://root-forum.cern.ch/u/masato)\
**Post date:** [November 30, 2020, 6:07pm UTC](https://root-forum.cern.ch/t/garfield-message-meaning/42533/1 "2020-11-30T18:07:10Z")

</div>

Hi,  
I’m using Garfield++, Gmsh, and Elmer to perform gas amplification simulations of electrons.  
I’m referring to the lem example.  
The simulation can run to the end, but halfway through I will often get the following message:

```auto
MediumMagboltz::GetElectronCollisionRate:
    Rate at 42.2937 eV is not included in the current table.
    Increasing energy range to 44.4084 eV.
AvalancheMicroscopic::TransportElectron: Increasing null-collision rate by 5%.

```

What does this message mean and how does it affect the simulation?  
I have attached the program I am using.  
Appreciate your help.

[avalanche.cc](https://root-forum.cern.ch/uploads/short-url/aThOmDaMkiIlBdlUXmoiU3w1QkN.cc) (9.8 KB)

---

<div class="post-metadata">

**Author:** ![hschindl](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/977dab/32.png) [@hschindl](https://root-forum.cern.ch/u/hschindl)\
**Post date:** [November 30, 2020, 8:59pm UTC](https://root-forum.cern.ch/t/garfield-message-meaning/42533/2 "2020-11-30T20:59:53Z")

</div>

Hi,  
by default, MediumMagboltz creates a table of the electron-atom/molecule cross-sections from 0 to 40 eV. If an electron energy higher than that is encountered, this table is updated, with the upper limit of the table increased by 5%. To avoid this from happening, you could set the upper energy limit upfront, e. g. to 200 eV:

```auto
gas.SetMaxElectronEnergy(200.);

```

But otherwise the message is nothing to worry about…

---

<div class="post-metadata">

**Author:** ![masato](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/masato/32/38079_2.png) [@masato](https://root-forum.cern.ch/u/masato)\
**Post date:** [November 30, 2020, 9:24pm UTC](https://root-forum.cern.ch/t/garfield-message-meaning/42533/3 "2020-11-30T21:24:51Z")

</div>

Ok, I’ll try to use the code you taught me.  
If no problem, I don’t care about the message.  
Thank you very much.

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [December 14, 2020, 9:33pm UTC](https://root-forum.cern.ch/t/garfield-message-meaning/42533/4 "2020-12-14T21:33:42Z")

</div>

Closed on December 14, 2020, 9:33pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
