yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #13104
[Branch ~yade-pkg/yade/git-trunk] Rev 4038: fixed inheritence problem when LINSOLV=OFF
------------------------------------------------------------
revno: 4038
committer: robcaulk <rob.caulk@xxxxxxxxx>
timestamp: Tue 2017-05-02 13:26:05 -0700
message:
fixed inheritence problem when LINSOLV=OFF
modified:
lib/triangulation/FlowBoundingSphere.hpp
lib/triangulation/FlowBoundingSphereLinSolv.hpp
lib/triangulation/PeriodicFlowLinSolv.hpp
--
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 'lib/triangulation/FlowBoundingSphere.hpp'
--- lib/triangulation/FlowBoundingSphere.hpp 2017-03-10 11:09:31 +0000
+++ lib/triangulation/FlowBoundingSphere.hpp 2017-05-02 20:26:05 +0000
@@ -45,6 +45,7 @@
bool computedOnce;//flag for checking if current triangulation has been computed at least once
bool pressureChanged;//are imposed pressures modified (on python side)? When it happens, we have to reApplyBoundaryConditions
int errorCode;
+ bool factorizeOnly;
//Handling imposed pressures/fluxes on elements in the form of {point,value} pairs, IPCells contains the cell handles corresponding to point
vector<pair<Point,Real> > imposedP;
=== modified file 'lib/triangulation/FlowBoundingSphereLinSolv.hpp'
--- lib/triangulation/FlowBoundingSphereLinSolv.hpp 2017-05-02 16:03:45 +0000
+++ lib/triangulation/FlowBoundingSphereLinSolv.hpp 2017-05-02 20:26:05 +0000
@@ -54,6 +54,7 @@
using FlowType::resetNetwork;
using FlowType::tesselation;
using FlowType::resetRHS;
+ using FlowType::factorizeOnly; // used for backgroundAction()
//! TAUCS DECs
vector<FiniteCellsIterator> orderedCells;
@@ -61,7 +62,6 @@
bool isFullLinearSystemGSSet;
bool areCellsOrdered;//true when orderedCells is filled, turn it false after retriangulation
bool updatedRHS;
- bool factorizeOnly; // used for backgroundAction()
#ifdef EIGENSPARSE_LIB
//Eigen's sparse matrix and solver
=== modified file 'lib/triangulation/PeriodicFlowLinSolv.hpp'
--- lib/triangulation/PeriodicFlowLinSolv.hpp 2014-10-29 16:49:20 +0000
+++ lib/triangulation/PeriodicFlowLinSolv.hpp 2017-05-02 20:26:05 +0000
@@ -28,7 +28,7 @@
//same for functions
using _N::defineFictiousCells; using _N::addBoundingPlanes; using _N::boundary;
- using BaseFlowSolver::noCache; using BaseFlowSolver::rAverage; using BaseFlowSolver::distanceCorrection; using BaseFlowSolver::minPermLength; using BaseFlowSolver::checkSphereFacetOverlap; using BaseFlowSolver::viscosity; using BaseFlowSolver::kFactor; using BaseFlowSolver::permeabilityMap; using BaseFlowSolver::maxKdivKmean; using BaseFlowSolver::clampKValues; using BaseFlowSolver::KOptFactor; using BaseFlowSolver::meanKStat; using BaseFlowSolver::fluidBulkModulus; using BaseFlowSolver::relax; using BaseFlowSolver::tolerance; using BaseFlowSolver::minKdivKmean; using BaseFlowSolver::resetRHS;
+ using BaseFlowSolver::noCache; using BaseFlowSolver::rAverage; using BaseFlowSolver::distanceCorrection; using BaseFlowSolver::minPermLength; using BaseFlowSolver::checkSphereFacetOverlap; using BaseFlowSolver::viscosity; using BaseFlowSolver::kFactor; using BaseFlowSolver::permeabilityMap; using BaseFlowSolver::maxKdivKmean; using BaseFlowSolver::clampKValues; using BaseFlowSolver::KOptFactor; using BaseFlowSolver::meanKStat; using BaseFlowSolver::fluidBulkModulus; using BaseFlowSolver::relax; using BaseFlowSolver::tolerance; using BaseFlowSolver::minKdivKmean; using BaseFlowSolver::resetRHS; using BaseFlowSolver::factorizeOnly;
/// More members from LinSolv variant
using BaseFlowSolver::areCellsOrdered; using BaseFlowSolver::T_nnz; using BaseFlowSolver::ncols; using BaseFlowSolver::T_cells; using BaseFlowSolver::T_index; using BaseFlowSolver::orderedCells; using BaseFlowSolver::isLinearSystemSet; using BaseFlowSolver::T_x; using BaseFlowSolver::T_b; using BaseFlowSolver::T_bv; using BaseFlowSolver::bodv; using BaseFlowSolver::xodv; using BaseFlowSolver::errorCode; using BaseFlowSolver::useSolver; using BaseFlowSolver::tripletList; using BaseFlowSolver::A; using BaseFlowSolver::gsP; using BaseFlowSolver::gsB; using BaseFlowSolver::fullAcolumns; using BaseFlowSolver::fullAvalues; using BaseFlowSolver::isFullLinearSystemGSSet; using BaseFlowSolver::gsdV;