Ignore:
Timestamp:
Sep 30, 2010, 2:47:17 PM (14 years ago)
Author:
garnier
Message:

tag geant4.9.4 beta 1 + modifs locales

Location:
trunk/examples/extended/parallel/MPI/exMPI01
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/extended/parallel/MPI/exMPI01/GNUmakefile

    r1230 r1337  
    1 # $Id: GNUmakefile,v 1.1 2007/11/16 14:16:46 kmura Exp $
    2 # $Name: geant4-09-03-cand-01 $
     1# $Id: GNUmakefile,v 1.2 2010/01/11 16:53:51 gcosmo Exp $
     2# $Name: geant4-09-04-beta-01 $
    33# ===========================================================
    44#   Makefile for building G4 MPI aplication
    55# ===========================================================
    6 name := exMPI01#
     6
     7name := exMPI01
    78G4TARGET := $(name)
    89G4EXLIB := true
    910
    10 G4WORKDIR := .
     11ifndef G4INSTALL
     12  G4INSTALL = ../../../../..
     13endif
    1114
    1215.PHONY: all
  • trunk/examples/extended/parallel/MPI/exMPI01/History

    r807 r1337  
    1 $Id: History,v 1.1 2007/11/16 14:16:46 kmura Exp $
     1$Id: History,v 1.3 2010/06/06 05:07:23 perl Exp $
    22-------------------------------------------------------------------
    33
     
    99                          ---------------
    1010
     114 June 2010 J.Perl
     12 - Updated vis usage.
     13
     1418 May 2010 K.Murakami
     15 - use G4UIcsh instead of G4UItcsh because OpenMPI is now default.
     16 - use G4eMultipleScattering instead of obsolete G4MultipleScattering.
     17
    111816 Nov. 2007 K.Murakami
    1219 - commited to G4 CVS.
    1320
    14 
  • trunk/examples/extended/parallel/MPI/exMPI01/exMPI01.cc

    r1230 r1337  
    2424// ********************************************************************
    2525//
    26 // $Id: exMPI01.cc,v 1.1 2007/11/16 14:16:46 kmura Exp $
    27 // $Name: geant4-09-03-cand-01 $
     26// $Id: exMPI01.cc,v 1.2 2010/05/18 06:07:43 kmura Exp $
     27// $Name: geant4-09-04-beta-01 $
    2828//
    2929// ====================================================================
     
    4343#include "G4MPImanager.hh"
    4444#include "G4MPIsession.hh"
    45 #include "G4UItcsh.hh"
    4645
    4746#ifdef G4VIS_USE
     
    7069  prompt+= "G4MPI";
    7170  prompt+= "[40;31m(%s)[40;36m[%/][00;30m:";
    72 
    73   G4UItcsh* tcsh= new G4UItcsh(prompt);
    74   tcsh-> SetLsColor(BLUE,RED);
    75   session-> SetShell(tcsh);
     71  session-> SetPrompt(prompt);
    7672
    7773  // --------------------------------------------------------------------
  • trunk/examples/extended/parallel/MPI/exMPI01/include/DetectorConstruction.hh

    r807 r1337  
    2525//
    2626// $Id: DetectorConstruction.hh,v 1.1 2007/11/16 14:16:46 kmura Exp $
    27 // $Name: $
     27// $Name: geant4-09-04-beta-01 $
    2828//
    2929// ====================================================================
  • trunk/examples/extended/parallel/MPI/exMPI01/include/Materials.hh

    r807 r1337  
    2525//
    2626// $Id: Materials.hh,v 1.1 2007/11/16 14:16:46 kmura Exp $
    27 // $Name: $
     27// $Name: geant4-09-04-beta-01 $
    2828//
    2929// ====================================================================
  • trunk/examples/extended/parallel/MPI/exMPI01/include/Particles.hh

    r807 r1337  
    2525//
    2626// $Id: Particles.hh,v 1.1 2007/11/16 14:16:46 kmura Exp $
    27 // $Name: $
     27// $Name: geant4-09-04-beta-01 $
    2828//
    2929// ====================================================================
  • trunk/examples/extended/parallel/MPI/exMPI01/include/PhysicsList.hh

    r807 r1337  
    2525//
    2626// $Id: PhysicsList.hh,v 1.1 2007/11/16 14:16:46 kmura Exp $
    27 // $Name: $
     27// $Name: geant4-09-04-beta-01 $
    2828//
    2929// ====================================================================
  • trunk/examples/extended/parallel/MPI/exMPI01/include/PhysicsListEMstd.hh

    r807 r1337  
    2525//
    2626// $Id: PhysicsListEMstd.hh,v 1.1 2007/11/16 14:16:46 kmura Exp $
    27 // $Name: $
     27// $Name: geant4-09-04-beta-01 $
    2828//
    2929// ====================================================================
  • trunk/examples/extended/parallel/MPI/exMPI01/include/PrimaryGeneratorAction.hh

    r807 r1337  
    2525//
    2626// $Id: PrimaryGeneratorAction.hh,v 1.1 2007/11/16 14:16:46 kmura Exp $
    27 // $Name: $
     27// $Name: geant4-09-04-beta-01 $
    2828//
    2929// ====================================================================
  • trunk/examples/extended/parallel/MPI/exMPI01/src/DetectorConstruction.cc

    r807 r1337  
    2525//
    2626// $Id: DetectorConstruction.cc,v 1.1 2007/11/16 14:16:46 kmura Exp $
    27 // $Name: $
     27// $Name: geant4-09-04-beta-01 $
    2828//
    2929// ====================================================================
  • trunk/examples/extended/parallel/MPI/exMPI01/src/Materials.cc

    r807 r1337  
    2525//
    2626// $Id: Materials.cc,v 1.1 2007/11/16 14:16:46 kmura Exp $
    27 // $Name: $
     27// $Name: geant4-09-04-beta-01 $
    2828//
    2929// ====================================================================
  • trunk/examples/extended/parallel/MPI/exMPI01/src/Particles.cc

    r807 r1337  
    2525//
    2626// $Id: Particles.cc,v 1.1 2007/11/16 14:16:46 kmura Exp $
    27 // $Name: $
     27// $Name: geant4-09-04-beta-01 $
    2828//
    2929// ====================================================================
  • trunk/examples/extended/parallel/MPI/exMPI01/src/PhysicsList.cc

    r807 r1337  
    2525//
    2626// $Id: PhysicsList.cc,v 1.1 2007/11/16 14:16:46 kmura Exp $
    27 // $Name: $
     27// $Name: geant4-09-04-beta-01 $
    2828//
    2929// ====================================================================
  • trunk/examples/extended/parallel/MPI/exMPI01/src/PhysicsListEMstd.cc

    r807 r1337  
    2424// ********************************************************************
    2525//
    26 // $Id: PhysicsListEMstd.cc,v 1.1 2007/11/16 14:16:46 kmura Exp $
    27 // $Name: $
     26// $Id: PhysicsListEMstd.cc,v 1.2 2010/05/13 03:12:00 kmura Exp $
     27// $Name: geant4-09-04-beta-01 $
    2828//
    2929// ====================================================================
     
    4848#include "G4GammaConversion.hh"
    4949#include "G4PhotoElectricEffect.hh"
    50 #include "G4MultipleScattering.hh"
     50#include "G4eMultipleScattering.hh"
    5151#include "G4eIonisation.hh"
    5252#include "G4eBremsstrahlung.hh"
     
    8787  G4ProcessManager* pm;
    8888
    89   // ---------------------------------------------------------- 
     89  // ----------------------------------------------------------
    9090  // gamma physics
    9191  // ----------------------------------------------------------
     
    9898  // electron physics
    9999  // ----------------------------------------------------------
    100   G4MultipleScattering* msc=    new G4MultipleScattering;
     100  G4eMultipleScattering* msc=   new G4eMultipleScattering;
    101101  G4eIonisation*        eion=   new G4eIonisation;
    102102  G4eBremsstrahlung*    ebrems= new G4eBremsstrahlung;
     
    110110  // positron physics
    111111  // ----------------------------------------------------------
    112   msc=    new G4MultipleScattering;
     112  msc=    new G4eMultipleScattering;
    113113  eion=   new G4eIonisation;
    114114  ebrems= new G4eBremsstrahlung;
     
    123123}
    124124
     125
  • trunk/examples/extended/parallel/MPI/exMPI01/src/PrimaryGeneratorAction.cc

    r807 r1337  
    2525//
    2626// $Id: PrimaryGeneratorAction.cc,v 1.1 2007/11/16 14:16:46 kmura Exp $
    27 // $Name: $
     27// $Name: geant4-09-04-beta-01 $
    2828//
    2929// ====================================================================
  • trunk/examples/extended/parallel/MPI/exMPI01/v.mac

    r807 r1337  
    1 /vis/open OGLIX
    2 
    3 /vis/scene/create
    4 /vis/scene/add/volume
    5 
    6 /vis/sceneHandler/attach
    7 
     1# Use this open statement to create an OpenGL view:
     2/vis/open OGL 600x600-0+0
     3#
     4# Use this open statement to create a .prim file suitable for
     5# viewing in DAWN:
     6#/vis/open DAWNFILE
     7#
     8# Use this open statement to create a .heprep file suitable for
     9# viewing in HepRApp:
     10#/vis/open HepRepFile
     11#
     12# Use this open statement to create a .wrl file suitable for
     13# viewing in a VRML viewer:
     14#/vis/open VRML2FILE
     15#
     16# Disable auto refresh and quieten vis messages whilst scene and
     17# trajectories are established:
     18/vis/viewer/set/autoRefresh false
     19/vis/verbose errors
     20#
     21# Draw geometry:
     22/vis/drawVolume
     23#
     24# Specify view angle:
    825/vis/viewer/set/viewpointThetaPhi 90. 270.
    9 
    10 /tracking/storeTrajectory 1
    11 /vis/scene/add/trajectories
     26#
     27# Specify zoom value:
     28#/vis/viewer/zoom 2.
     29#
     30# Specify style (surface or wireframe):
     31#/vis/viewer/set/style wireframe
     32#
     33# Draw coordinate axes:
     34#/vis/scene/add/axes 0 0 0 1 m
     35#
     36# Draw smooth trajectories at end of event, showing trajectory points
     37# as markers 2 pixels wide:
     38/vis/scene/add/trajectories smooth
     39/vis/modeling/trajectories/create/drawByCharge
     40/vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true
     41/vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 2
     42# (if too many tracks cause core dump => /tracking/storeTrajectory 0)
     43#
     44# Draw hits at end of event:
     45#/vis/scene/add/hits
     46#
     47# To draw only gammas:
     48#/vis/filtering/trajectories/create/particleFilter
     49#/vis/filtering/trajectories/particleFilter-0/add gamma
     50#
     51# To invert the above, drawing all particles except gammas,
     52# keep the above two lines but also add:
     53#/vis/filtering/trajectories/particleFilter-0/invert true
     54#
     55# Many other options are available with /vis/modeling and /vis/filtering.
     56# For example, to select colour by particle ID:
     57#/vis/modeling/trajectories/create/drawByParticleID
     58#/vis/modeling/trajectories/drawByParticleID-0/set e- blue
     59#
     60# To superimpose all of the events from a given run:
    1261/vis/scene/endOfEventAction accumulate
    13 #/vis/scene/endOfEventAction refresh
    14 
    15 
     62#
     63# Re-establish auto refreshing and verbosity:
     64/vis/viewer/set/autoRefresh true
     65/vis/verbose warnings
     66#
     67# For file-based drivers, use this to create an empty detector view:
     68#/vis/viewer/flush
Note: See TracChangeset for help on using the changeset viewer.