Ignore:
Timestamp:
03/10/10 11:17:57 (16 years ago)
Author:
Mathieu Morlighem
Message:

Added ariginal file location

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/Bamgx/objects/Metric.cpp

    r3243 r3246  
    1818        /*FUNCTION Metric::Metric(const double  a[3],const  Metric m0, const  Metric m1,const  Metric  m2 ){{{1*/
    1919        Metric::Metric(const double  a[3],const  Metric m0, const  Metric m1,const  Metric m2 ){
     20                /*Original code from Frederic Hecht <hecht@ann.jussieu.fr> (BAMG v1.01, Metric.cpp/Metric)*/
     21
    2022                Metric mab(a[0]*m0.a11 + a[1]*m1.a11 + a[2]*m2.a11,
    2123                                        a[0]*m0.a21 + a[1]*m1.a21 + a[2]*m2.a21,
     
    3739        /*FUNCTION Metric::Metric( double  a,const  Metric ma, double  b,const  Metric mb){{{1*/
    3840        Metric::Metric( double  a,const  Metric ma, double  b,const  Metric mb) {
     41                /*Original code from Frederic Hecht <hecht@ann.jussieu.fr> (BAMG v1.01, Metric.cpp/MatVVP2x2)*/
     42
    3943                Metric mab(a*ma.a11+b*mb.a11,a*ma.a21+b*mb.a21,a*ma.a22+b*mb.a22);
    4044                MatVVP2x2 vab(mab);
     
    5458        /*Methods*/
    5559        /*FUNCTION Metric::Echo {{{1*/
    56 
    5760        void Metric::Echo(void){
    5861
     
    6568        /*FUNCTION Metric::IntersectWith{{{1*/
    6669        int Metric::IntersectWith(const Metric M2) {
     70                /*Original code from Frederic Hecht <hecht@ann.jussieu.fr> (BAMG v1.01, Metric.cpp/IntersectWith)*/
     71
    6772                /*Get a new metric from an existing metric (M1=this)
    6873                 * and a new metric given in input M2 using a
     
    118123        /*FUNCTION LengthInterpole{{{1*/
    119124        double LengthInterpole(const Metric Ma,const  Metric Mb, R2 AB) {
     125                /*Original code from Frederic Hecht <hecht@ann.jussieu.fr> (BAMG v1.01, Metric.cpp/LengthInterpole)*/
     126
    120127                double k=1./2.;
    121128                int level=0;
     
    184191        /*FUNCTION SimultaneousMatrixReduction{{{1*/
    185192        void SimultaneousMatrixReduction( Metric M1,  Metric M2, D2xD2 &V) {
     193                /*Original code from Frederic Hecht <hecht@ann.jussieu.fr> (BAMG v1.01, Metric.cpp/ReductionSimultanee)*/
     194
    186195                /*In this routine we must return a matrix V that is composed of the
    187196                 * eigen vectors of N=inv(M1) M2.
     
    287296        /*FUNCTION abscisseInterpole{{{1*/
    288297        double abscisseInterpole(const Metric Ma,const  Metric Mb, R2 AB,double s,int optim) {
     298                /*Original code from Frederic Hecht <hecht@ann.jussieu.fr> (BAMG v1.01, Metric.cpp/abscisseInterpole)*/
     299
    289300                if(!optim)  LengthInterpole(Ma,Mb,AB);
    290301                double l  = s* LastMetricInterpole.lab,r;
Note: See TracChangeset for help on using the changeset viewer.