- Timestamp:
- 05/01/12 17:28:47 (13 years ago)
- Location:
- issm/branches/trunk-jpl-damage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/branches/trunk-jpl-damage
- Property svn:ignore
-
old new 7 7 config.status 8 8 configure 9 doxygen10 9 ISSM.paf 11 10 ISSM.ppf 12 11 ISSM.ppf_cache 13 12 libtool 14 list15 13 Makefile 16 14 Makefile.in 17 15 stamp-h1 18 16 svn-commit* 19 nightlylog
-
- Property svn:mergeinfo changed
/issm/trunk merged: 11526,11533,11681-11682,11710,11778-11779,11995 /issm/trunk-jpl merged: 11992-11994,11996-12003,12005-12113,12115-12161,12163-12166
- Property svn:ignore
-
issm/branches/trunk-jpl-damage/src/c/objects/Numerics/Vector.cpp
r12004 r12168 132 132 } 133 133 /*}}}*/ 134 135 #if defined(_HAVE_MATLAB_) && defined(_SERIAL_)136 /*FUNCTION Vector::ToMatlabVector{{{1*/137 mxArray* Vector::ToMatlabVector(void){138 139 mxArray* dataref=NULL;140 #ifdef _HAVE_PETSC_141 PetscVectorToMatlabVector(&dataref,this->vector);142 #else143 dataref=this->vector->ToMatlabVector();144 #endif145 return dataref;146 147 }148 /*}}}*/149 /*FUNCTION MatlabVectorToVector{{{1*/150 Vector* MatlabVectorToVector(const mxArray* mxvector){151 152 int dummy;153 Vector* vector=NULL;154 155 /*allocate vector object: */156 vector=new Vector();157 158 #ifdef _HAVE_PETSC_159 MatlabVectorToPetscVector(&vector->vector,&dummy,mxvector);160 #else161 vector->vector=MatlabVectorToSeqVec(mxvector);162 #endif163 164 return vector;165 }166 /*}}}*/167 #endif168 134 /*FUNCTION Vector::Assemble{{{1*/ 169 135 void Vector::Assemble(void){
Note:
See TracChangeset
for help on using the changeset viewer.