[cig-commits] r22006 - in short/3D/PyLith/trunk/libsrc/pylith: feassemble materials
brad at geodynamics.org
brad at geodynamics.org
Wed May 8 17:03:18 PDT 2013
Author: brad
Date: 2013-05-08 17:03:18 -0700 (Wed, 08 May 2013)
New Revision: 22006
Modified:
short/3D/PyLith/trunk/libsrc/pylith/feassemble/ElasticityExplicitLgDeform.cc
short/3D/PyLith/trunk/libsrc/pylith/feassemble/IntegratorElasticityLgDeform.cc
short/3D/PyLith/trunk/libsrc/pylith/materials/ElasticMaterial.cc
Log:
Remove dead code.
Modified: short/3D/PyLith/trunk/libsrc/pylith/feassemble/ElasticityExplicitLgDeform.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/pylith/feassemble/ElasticityExplicitLgDeform.cc 2013-05-09 00:00:30 UTC (rev 22005)
+++ short/3D/PyLith/trunk/libsrc/pylith/feassemble/ElasticityExplicitLgDeform.cc 2013-05-09 00:03:18 UTC (rev 22006)
@@ -199,16 +199,11 @@
const PetscInt numCells = materialIS.size();
// Setup field visitors.
+ scalar_array dispAdjCell(numBasis*spaceDim);
topology::VecVisitorMesh accVisitor(fields->get("acceleration(t)"));
-
topology::VecVisitorMesh velVisitor(fields->get("velocity(t)"));
-
- scalar_array dispAdjCell(numBasis*spaceDim);
topology::VecVisitorMesh dispVisitor(fields->get("disp(t)"));
-
topology::VecVisitorMesh residualVisitor(residual);
-
- scalar_array coordinatesCell(numBasis*spaceDim);
topology::CoordsVisitor coordsVisitor(dmMesh);
assert(_normalizer);
Modified: short/3D/PyLith/trunk/libsrc/pylith/feassemble/IntegratorElasticityLgDeform.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/pylith/feassemble/IntegratorElasticityLgDeform.cc 2013-05-09 00:00:30 UTC (rev 22005)
+++ short/3D/PyLith/trunk/libsrc/pylith/feassemble/IntegratorElasticityLgDeform.cc 2013-05-09 00:03:18 UTC (rev 22006)
@@ -112,7 +112,6 @@
scalar_array dispTCell(numBasis*spaceDim);
topology::VecVisitorMesh dispVisitor(fields->get("disp(t)"));
- scalar_array coordinatesCell(numBasis*spaceDim);
topology::CoordsVisitor coordsVisitor(dmMesh);
// Loop over cells
@@ -199,7 +198,6 @@
topology::VecVisitorMesh fieldVisitor(*field);
PetscScalar* fieldArray = fieldVisitor.localArray();
- scalar_array coordinatesCell(numBasis*spaceDim);
topology::CoordsVisitor coordsVisitor(dmMesh);
// Loop over cells
Modified: short/3D/PyLith/trunk/libsrc/pylith/materials/ElasticMaterial.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/pylith/materials/ElasticMaterial.cc 2013-05-09 00:00:30 UTC (rev 22005)
+++ short/3D/PyLith/trunk/libsrc/pylith/materials/ElasticMaterial.cc 2013-05-09 00:03:18 UTC (rev 22006)
@@ -414,7 +414,6 @@
const int spaceDim = quadrature->spaceDim();
const int numBasis = quadrature->numBasis();
- scalar_array coordinatesCell(numBasis*spaceDim);
topology::CoordsVisitor coordsVisitor(dmMesh);
PylithScalar dtStable = pylith::PYLITH_MAXSCALAR;
More information about the CIG-COMMITS
mailing list