yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #11578
[Branch ~yade-pkg/yade/git-trunk] Rev 3509: some code documentation
------------------------------------------------------------
revno: 3509
committer: Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx>
timestamp: Tue 2014-10-28 16:29:05 +0100
message:
some code documentation
modified:
pkg/pfv/FlowEngine.hpp.in
pkg/pfv/FlowEngine.ipp.in
--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk
Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'pkg/pfv/FlowEngine.hpp.in'
--- pkg/pfv/FlowEngine.hpp.in 2014-10-23 11:22:18 +0000
+++ pkg/pfv/FlowEngine.hpp.in 2014-10-28 15:29:05 +0000
@@ -27,9 +27,8 @@
- Tesselation.h/ipp : encapsulate RegularTriangulation and adds functions to manipulate the dual (Voronoi) graph of the triangulation
- Network.hpp/ipp : specialized for PFV model (the two former are used independently by TesselationWrapper), a set of functions to determine volumes and surfaces of intersections between spheres and various subdomains. Contains two triangulations for smooth transitions while remeshing - e.g. interpolating values in the new mesh using the previous one.
- FlowBoundingSphere.hpp/ipp and PeriodicFlow.hpp/ipp + LinSolv variants: implement the solver in itself (mesh, boundary conditions, solving, defining fluid-particles interactions)
-- FlowEngine.hpp/ipp/cpp (this file)
+- FlowEngine.hpp/hpp.in/ipp.in (this file) define a generic flow engine, instantiations of which are FlowEngine and variants (FlowEngine.cpp, PeriodicFlowEngine.cpp,...)
-Variants for periodic boundary conditions are also present.
*/
=== modified file 'pkg/pfv/FlowEngine.ipp.in'
--- pkg/pfv/FlowEngine.ipp.in 2014-10-15 08:42:29 +0000
+++ pkg/pfv/FlowEngine.ipp.in 2014-10-28 15:29:05 +0000
@@ -474,6 +474,7 @@
totDVol+=dVol;}
}
if (defTolerance>0) epsVolMax = totDVol/totVol;
+ //FIXME: move this loop to FlowBoundingSphere
for (unsigned int n=0; n<flow.imposedF.size();n++) {
flow.IFCells[n]->info().dv()+=flow.imposedF[n].second;
flow.IFCells[n]->info().Pcondition=false;}