Ignore:
Timestamp:
May 28, 2009, 4:26:57 PM (15 years ago)
Author:
garnier
Message:

maj sur la beta de geant 4.9.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/processes/optical/include/G4OpBoundaryProcess.hh

    r1007 r1055  
    2525//
    2626//
    27 // $Id: G4OpBoundaryProcess.hh,v 1.18 2008/11/07 17:59:37 gum Exp $
    28 // GEANT4 tag $Name: geant4-09-02 $
     27// $Id: G4OpBoundaryProcess.hh,v 1.19 2009/03/23 21:18:20 gum Exp $
     28// GEANT4 tag $Name: geant4-09-03-beta-cand-01 $
    2929//
    3030//
     
    5454// mail:        gum@triumf.ca
    5555//
    56 // CVS version tag:
    5756////////////////////////////////////////////////////////////////////////
    5857
     
    160159        // Returns the Reflectivity on a metalic surface
    161160
    162         void           SetModel(G4OpticalSurfaceModel model);
     161        void CalculateReflectivity(void);
     162
     163        void SetModel(G4OpticalSurfaceModel model);
    163164        // Set the optical surface model to be followed
    164165        // (glisur || unified).
     
    195196
    196197        G4OpticalSurface* OpticalSurface;
     198
     199        G4MaterialPropertyVector* PropertyPointer;
     200        G4MaterialPropertyVector* PropertyPointer1;
     201        G4MaterialPropertyVector* PropertyPointer2;
    197202
    198203        G4double Rindex1;
     
    308313
    309314          theStatus = LobeReflection;
    310           theFacetNormal = GetFacetNormal(OldMomentum,theGlobalNormal);
     315          if ( PropertyPointer1 && PropertyPointer2 ){
     316          } else {
     317             theFacetNormal =
     318                 GetFacetNormal(OldMomentum,theGlobalNormal);
     319          }
    311320          G4double PdotN = OldMomentum * theFacetNormal;
    312321          NewMomentum = OldMomentum - (2.*PdotN)*theFacetNormal;
Note: See TracChangeset for help on using the changeset viewer.