Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Concentration clamp with non-diffusing molecule #29

Open
jczech opened this issue Jan 31, 2017 · 0 comments
Open

Concentration clamp with non-diffusing molecule #29

jczech opened this issue Jan 31, 2017 · 0 comments

Comments

@jczech
Copy link
Contributor

jczech commented Jan 31, 2017

If you have a molecule with a diffusion constant of zero which is applied to a concentration clamp, MCell will produce the following (unhelpful) error message:

Error: Failed to parse input file

Here's an MDL that produces this error:

ITERATIONS = 1
TIME_STEP = 1e-6

DEFINE_MOLECULES { vol1 { DIFFUSION_CONSTANT_3D = 0 } }

DEFINE_SURFACE_CLASSES { Surface_Class { CLAMP_CONCENTRATION vol1; = 1e-5 } }

Plane POLYGON_LIST {
  VERTEX_LIST {
    [ -0.899999976158142, -0.899999976158142, 0 ]
    [ 0.899999976158142, -0.899999976158142, 0 ]
    [ -0.899999976158142, 0.899999976158142, 0 ]
    [ 0.899999976158142, 0.899999976158142, 0 ]
  }
  ELEMENT_CONNECTIONS {
    [ 1, 2, 0 ]
    [ 1, 3, 2 ]
  }
}

MODIFY_SURFACE_REGIONS { Plane[ALL] { SURFACE_CLASS = Surface_Class } }

INSTANTIATE Scene OBJECT
{
  Plane OBJECT Plane {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant