aboutsummaryrefslogtreecommitdiff
path: root/dist/spheroid.patch
diff options
context:
space:
mode:
authorschnetter <schnetter@5c1b1641-b641-47ec-b3d9-0f93d4c445ee>2009-12-01 04:57:52 +0000
committerschnetter <schnetter@5c1b1641-b641-47ec-b3d9-0f93d4c445ee>2009-12-01 04:57:52 +0000
commitdcae4ec74aafcc450beb47d82c5ee55b4af63a0b (patch)
tree4ba9dcb8435335d1803af20151b213d0991062cb /dist/spheroid.patch
parent0973a99607f9934137b3efe152c7cd9817a45cae (diff)
Update LORENE, begin to make it build on AIX
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/LORENE/trunk@3 5c1b1641-b641-47ec-b3d9-0f93d4c445ee
Diffstat (limited to 'dist/spheroid.patch')
-rw-r--r--dist/spheroid.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/dist/spheroid.patch b/dist/spheroid.patch
new file mode 100644
index 0000000..0824b61
--- /dev/null
+++ b/dist/spheroid.patch
@@ -0,0 +1,40 @@
+Index: Lorene/C++/Source/App_hor/spheroid.C
+===================================================================
+RCS file: /cvsroot/Lorene/C++/Source/App_hor/spheroid.C,v
+retrieving revision 1.15
+diff -u -r1.15 spheroid.C
+--- Lorene/C++/Source/App_hor/spheroid.C 10 Dec 2008 13:55:55 -0000 1.15
++++ Lorene/C++/Source/App_hor/spheroid.C 30 Nov 2009 04:24:02 -0000
+@@ -704,6 +704,32 @@
+ set_der_0x0() ;
+
+ }
++
++// Assignment to another Spheroid
++void Spheroid::operator=(const Spheroid& sph_in)
++{
++
++ h_surf = sph_in.h_surf ;
++ jac2d = sph_in.jac2d ;
++ proj = sph_in.proj ;
++ qq = sph_in.qq ;
++ ss = sph_in.ss ;
++ ephi = sph_in.ephi ;
++ qab = sph_in.qab ;
++ ricci = sph_in.ricci ;
++ hh = sph_in.hh ;
++ trk = sph_in.trk ;
++ ll = sph_in.ll ;
++ jj = sph_in.jj ;
++ fff = sph_in.fff ;
++ ggg = sph_in.ggg ;
++ zeta = sph_in.zeta ;
++ issphere = sph_in.issphere ;
++
++ del_deriv() ; // Deletes all derived quantities
++
++}
++
+ //------------//
+ //Destructor //
+ //-----------//