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/exMPI02
Files:
18 edited

Legend:

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

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

    r807 r1337  
    1 $Id: History,v 1.1 2007/11/16 14:28:34 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
    111716 Nov. 2007 K.Murakami
    1218 - commited to G4 CVS.
    1319
    14 
  • trunk/examples/extended/parallel/MPI/exMPI02/exMPI02.cc

    r1230 r1337  
    2424// ********************************************************************
    2525//
    26 // $Id: exMPI02.cc,v 1.1 2007/11/16 14:28:34 kmura Exp $
    27 // $Name: geant4-09-03-cand-01 $
     26// $Id: exMPI02.cc,v 1.2 2010/05/18 06:08:30 kmura Exp $
     27// $Name: geant4-09-04-beta-01 $
    2828//
    2929// ====================================================================
     
    4545#include "G4MPImanager.hh"
    4646#include "G4MPIsession.hh"
    47 #include "G4UItcsh.hh"
    4847
    4948#ifdef G4VIS_USE
     
    7170  prompt+= "G4MPI";
    7271  prompt+= "[40;31m(%s)[40;36m[%/][00;30m:";
    73 
    74   G4UItcsh* tcsh= new G4UItcsh(prompt);
    75   tcsh-> SetLsColor(BLUE,RED);
    76   session-> SetShell(tcsh);
     72  session-> SetPrompt(prompt);
    7773
    7874  // --------------------------------------------------------------------
  • trunk/examples/extended/parallel/MPI/exMPI02/include/Analysis.hh

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

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

    r807 r1337  
    2525//
    2626// $Id: EventAction.hh,v 1.2 2007/12/10 16:28:34 gunter Exp $
    27 // $Name: $
     27// $Name: geant4-09-04-beta-01 $
    2828// ====================================================================
    2929//   EventAction.hh
  • trunk/examples/extended/parallel/MPI/exMPI02/include/MedicalBeam.hh

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

    r807 r1337  
    2525//
    2626// $Id: RunAction.hh,v 1.2 2007/12/10 16:28:39 gunter Exp $
    27 // $Name: $
     27// $Name: geant4-09-04-beta-01 $
    2828// ====================================================================
    2929//   RunAction.hh
  • trunk/examples/extended/parallel/MPI/exMPI02/include/VoxelParam.hh

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

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

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

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

    r807 r1337  
    2525//
    2626// $Id: EventAction.cc,v 1.2 2007/12/10 16:28:52 gunter Exp $
    27 // $Name: $
     27// $Name: geant4-09-04-beta-01 $
    2828// ====================================================================
    2929//   EventAction.cc
  • trunk/examples/extended/parallel/MPI/exMPI02/src/MedicalBeam.cc

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

    r807 r1337  
    2525//
    2626// $Id: RunAction.cc,v 1.2 2007/12/10 16:28:54 gunter Exp $
    27 // $Name: $
     27// $Name: geant4-09-04-beta-01 $
    2828// ====================================================================
    2929//   RunAction.cc
  • trunk/examples/extended/parallel/MPI/exMPI02/src/VoxelParam.cc

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

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

    r807 r1337  
    1 /vis/verbose 0
    2 
    3 /vis/open OGLIX
    4 
    5 /vis/scene/create
    6 /vis/scene/add/volume
    7 
    8 /vis/sceneHandler/attach
    9 
     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:
    1025/vis/viewer/set/viewpointThetaPhi 90. 270.
    11 
    12 /tracking/storeTrajectory 1
    13 /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:
    1461/vis/scene/endOfEventAction accumulate
    15 #/vis/scene/endOfEventAction refresh
    16 
    17 
     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.