Page 1 of 1

rxd, crxd and dx

Posted: Tue Dec 10, 2019 3:11 pm
by ziemek
Hi!

I have 2 related question:
  • What is the difference between rxd and crxd?
  • What exactly define dx param for Region when I use:

Code: Select all

rxd.set_solve_type(dimension=3)
I understand that this is the maximum size of 3D mesh element. But how exactly the mesh is defined? Does rxd create the mesh automaticaly on each x,y,z direction assuming that each element of the mesh has the area of dx?

Thanks for your help!

Re: rxd, crxd and dx

Posted: Tue Dec 10, 2019 4:47 pm
by adamjhn
In previous versions of NEURON crxd was a faster implementation of rxd using a C/C++ backend. In the current release (7.7.2) there is no difference as crxd has become rxd.

When using the 3D solver, dx is set when creating a region, by default it is 0.25μm.
e.g.

Code: Select all

cyt = rxd.Region(h.allsec(), nrn_region='i', dx=0.25)
The mesh is then generated by rxd using cubic voxels with a maximum volume of dx³.

Re: rxd, crxd and dx

Posted: Wed Dec 11, 2019 5:28 am
by ziemek
That's the exact answer I was looking for, thanks so much!