[cig-commits] [commit] baagaard/add-release-2.1.0, baagaard/dynrup-new-lagrange, baagaard/feature-output-station-names, baagaard/feature-progress-monitor, baagaard/fix-custom-faultpc, baagaard/fix-faults-intersect, knepley/upgrade-petsc-master, master: Updated Distributor Python object for removal of partitioner parameter. (ed3a02b)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Wed Nov 5 15:46:47 PST 2014
- Previous message: [cig-commits] [commit] baagaard/add-release-2.1.0, baagaard/dynrup-new-lagrange, baagaard/feature-output-station-names, baagaard/feature-progress-monitor, baagaard/fix-custom-faultpc, baagaard/fix-faults-intersect, knepley/upgrade-petsc-master, master: Fixes to comments. (ced0083)
- Next message: [cig-commits] [commit] baagaard/add-release-2.1.0, baagaard/dynrup-new-lagrange, baagaard/feature-output-station-names, baagaard/feature-progress-monitor, baagaard/fix-custom-faultpc, baagaard/fix-faults-intersect, knepley/upgrade-petsc-master, master: Update Distributor for moving partitioner to PETSc setting. (d17e854)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Repository : https://github.com/geodynamics/pylith
On branches: baagaard/add-release-2.1.0,baagaard/dynrup-new-lagrange,baagaard/feature-output-station-names,baagaard/feature-progress-monitor,baagaard/fix-custom-faultpc,baagaard/fix-faults-intersect,knepley/upgrade-petsc-master,master
Link : https://github.com/geodynamics/pylith/compare/f33c75b19fd60eedb2a3405db76a1fee333bb1d7...5b6d812b1612809fea3bd331c4e5af98c25a536a
>---------------------------------------------------------------
commit ed3a02bbd075f886fd94e804fa9b60db2d72c3de
Author: Brad Aagaard <baagaard at usgs.gov>
Date: Mon Oct 20 10:32:52 2014 -0700
Updated Distributor Python object for removal of partitioner parameter.
The 'partitioner' parameter is now a PETSc setting.
>---------------------------------------------------------------
ed3a02bbd075f886fd94e804fa9b60db2d72c3de
pylith/topology/Distributor.py | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/pylith/topology/Distributor.py b/pylith/topology/Distributor.py
index 942b4dd..787b571 100644
--- a/pylith/topology/Distributor.py
+++ b/pylith/topology/Distributor.py
@@ -33,7 +33,6 @@ class Distributor(PetscComponent, ModuleDistributor):
Inventory
\b Properties
- @li \b partitioner Name of mesh partitioner {"metis", "chaco"}.
@li \b writePartition Write partition information to file.
\b Facilities
@@ -46,11 +45,6 @@ class Distributor(PetscComponent, ModuleDistributor):
import pyre.inventory
- partitioner = pyre.inventory.str("partitioner", default="chaco",
- validator=pyre.inventory.choice(["chaco",
- "metis"]))
- partitioner.meta['tip'] = "Name of mesh partitioner."
-
writePartition = pyre.inventory.bool("write_partition", default=False)
writePartition.meta['tip'] = "Write partition information to file."
@@ -80,7 +74,7 @@ class Distributor(PetscComponent, ModuleDistributor):
from pylith.topology.Mesh import Mesh
newMesh = Mesh(mesh.dimension())
- ModuleDistributor.distribute(newMesh, mesh, self.partitioner)
+ ModuleDistributor.distribute(newMesh, mesh)
#from pylith.utils.petsc import MemoryLogger
#memoryLogger = MemoryLogger.singleton()
@@ -104,7 +98,6 @@ class Distributor(PetscComponent, ModuleDistributor):
Set members based using inventory.
"""
PetscComponent._configure(self)
- self.partitioner = self.inventory.partitioner
self.writePartition = self.inventory.writePartition
self.dataWriter = self.inventory.dataWriter
return
- Previous message: [cig-commits] [commit] baagaard/add-release-2.1.0, baagaard/dynrup-new-lagrange, baagaard/feature-output-station-names, baagaard/feature-progress-monitor, baagaard/fix-custom-faultpc, baagaard/fix-faults-intersect, knepley/upgrade-petsc-master, master: Fixes to comments. (ced0083)
- Next message: [cig-commits] [commit] baagaard/add-release-2.1.0, baagaard/dynrup-new-lagrange, baagaard/feature-output-station-names, baagaard/feature-progress-monitor, baagaard/fix-custom-faultpc, baagaard/fix-faults-intersect, knepley/upgrade-petsc-master, master: Update Distributor for moving partitioner to PETSc setting. (d17e854)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the CIG-COMMITS
mailing list