[cig-commits] r21349 - short/3D/PyLith/branches/v1.8-mixedfault/libsrc/pylith/faults
rjolivet at geodynamics.org
rjolivet at geodynamics.org
Fri Feb 8 10:16:14 PST 2013
Author: rjolivet
Date: 2013-02-08 10:16:13 -0800 (Fri, 08 Feb 2013)
New Revision: 21349
Modified:
short/3D/PyLith/branches/v1.8-mixedfault/libsrc/pylith/faults/FaultCohesiveDynKin.cc
short/3D/PyLith/branches/v1.8-mixedfault/libsrc/pylith/faults/dkSelector.cc
short/3D/PyLith/branches/v1.8-mixedfault/libsrc/pylith/faults/dkSelector.hh
Log:
update
Modified: short/3D/PyLith/branches/v1.8-mixedfault/libsrc/pylith/faults/FaultCohesiveDynKin.cc
===================================================================
--- short/3D/PyLith/branches/v1.8-mixedfault/libsrc/pylith/faults/FaultCohesiveDynKin.cc 2013-02-08 18:05:51 UTC (rev 21348)
+++ short/3D/PyLith/branches/v1.8-mixedfault/libsrc/pylith/faults/FaultCohesiveDynKin.cc 2013-02-08 18:16:13 UTC (rev 21349)
@@ -316,7 +316,7 @@
// Get the dkSelector
assert(0 != _dkSelector);
- topology::Field<topology::SubMesh>& dk = _fields->get("Dynamic Kinematic Selector");
+ const topology::Field<topology::SubMesh>& dk = _fields->get("Dynamic Kinematic Selector");
_dkSelector->dk(&dk);
const ALE::Obj<RealSection>& dkSelSection = dk.section();
assert(!dkSelSection.isNull());
@@ -674,7 +674,7 @@
// Get the dkSelector
assert(0 != _dkSelector);
- topology::Field<topology::SubMesh>& dk = _fields->get("Dynamic Kinematic Selector");
+ const topology::Field<topology::SubMesh>& dk = _fields->get("Dynamic Kinematic Selector");
_dkSelector->dk(&dk);
const ALE::Obj<RealSection>& dkSelSection = dk.section();
assert(!dkSelSection.isNull());
Modified: short/3D/PyLith/branches/v1.8-mixedfault/libsrc/pylith/faults/dkSelector.cc
===================================================================
--- short/3D/PyLith/branches/v1.8-mixedfault/libsrc/pylith/faults/dkSelector.cc 2013-02-08 18:05:51 UTC (rev 21348)
+++ short/3D/PyLith/branches/v1.8-mixedfault/libsrc/pylith/faults/dkSelector.cc 2013-02-08 18:16:13 UTC (rev 21349)
@@ -143,7 +143,7 @@
// ----------------------------------------------------------------------
// Get dynamic kinematic selector field on fault surface (time will be the argument in the future)
void
-pylith::faults::DKSelector::dk(topology::Field<topology::SubMesh>* dk)
+pylith::faults::DKSelector::dk(topology::Field<topology::SubMesh>* const dk)
{ // dk
assert(0 != _parameters);
Modified: short/3D/PyLith/branches/v1.8-mixedfault/libsrc/pylith/faults/dkSelector.hh
===================================================================
--- short/3D/PyLith/branches/v1.8-mixedfault/libsrc/pylith/faults/dkSelector.hh 2013-02-08 18:05:51 UTC (rev 21348)
+++ short/3D/PyLith/branches/v1.8-mixedfault/libsrc/pylith/faults/dkSelector.hh 2013-02-08 18:16:13 UTC (rev 21349)
@@ -84,7 +84,7 @@
* @returns a section for the given time (future)
*/
void
- dk(topology::Field<topology::SubMesh>* dk);
+ dk(topology::Field<topology::SubMesh>* const dk);
// NOT IMPLEMENTED //////////////////////////////////////////////////////
private :
More information about the CIG-COMMITS
mailing list