|
From: | Axel Arnold |
Subject: | Re: [ESPResSo-devel] lbboundary and slitpore constraint |
Date: | Thu, 12 Feb 2015 15:56:25 +0100 |
If you want the slitpore geometry that is provided with Espresso, then you don’t need to implement it again. Otherwise, just use the current slitpore code as basis, you can easily find that by looking for occurrences of CONSTRAINT_SLITPORE. In the LB code, you just need to do the same thing as for the other constraints. Again, check e.g. for LB_BOUNDARY_WAL, which is the plain wall code. You should get the structure behind the code, just do the same for the slit. The files you need to look at are src/core/lb-boundaries.cpp and src/tcl/lb-boundaries_tcl.cpp, plus the respective headers to define a new constant for your constraint. If you want to contribute your changes, register with github.com, fork our repo espressomd/espresso and commit your changes to your copy. Then you can send us a pull request, which we will review. Best, Axel
------------------------------------------------
JP Dr. Axel Arnold ICP, Universität Stuttgart Allmandring 3 70569 Stuttgart, Germany Email: address@hidden Phone: +49 711 685 67609 |
[Prev in Thread] | Current Thread | [Next in Thread] |