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

Defining Cyclic Boundaries #11

Open
roughhawkbit opened this issue May 17, 2013 · 0 comments
Open

Defining Cyclic Boundaries #11

roughhawkbit opened this issue May 17, 2013 · 0 comments

Comments

@roughhawkbit
Copy link
Collaborator

There's something a little strange going on in the definitions of cyclic boundaries... as the number of grid points in any direction must be 2^n +1 I've always set the pointIn to be the same number and this is the case in the example protocol file single_species_single_substrate_2D.xml:

        <boundaryCondition class="BoundaryCyclic" name="x0z">
            <shape class="Planar">
                <param name="pointIn" x="0" y="-1" z="0"/>
                <param name="vectorOut" x="0" y="-1" z="0"/>
            </shape>
            <shape class="Planar">
                <param name="pointIn" x="0" y="33" z="0"/>
                <param name="vectorOut" x="0" y="1" z="0"/>
            </shape>
        </boundaryCondition>

However, this leads to agents seemingly off the agent grid... in this case the resolution is 8um and we have many cells with positions between 256um and 264um. Changing the "33" to "32" seems to fix this, but it may be causing other problems that I don't know about.

I'll try to get to the bottom of this eventually, but any help would be appreciated

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