Commit 7e6945c9 authored by Valentina Fioretti's avatar Valentina Fioretti
Browse files
parents f25dd3a2 67ac3d7f
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -15,6 +15,13 @@ BoGEMMS-HPC has been tested on CentOS >=7 Linux with GCC >=8 64 bits and macOS V
- G4-mpi (distributed with the Geant4 v11.1 release)
- (optional) ROOT >= v6

## Containerization

A singularity container can be downloaded [here](https://drive.google.com/file/d/1QIXBpMX5F5CuLd2m3cgSMRagKYnq3Mok/view?usp=sharing).
In this case the only dependence is the installation of singularity >=v3.6

`> singularity shell <container name>`


## Building

+9 −0
Original line number Diff line number Diff line
@@ -654,6 +654,12 @@ void MaterialsDefinition::DefineMaterials() {
    H2O = new G4Material("Water", density, 2);
    H2O->AddElement(elH, natoms=2);
    H2O->AddElement(elO, natoms=1);

    // wood
    wood = new G4Material(name="wood", density=0.9*g/cm3, ncomponents=3);
    wood->AddElement(elH , 4);
    wood->AddElement(elO , 1);
    wood->AddElement(elC , 2);
}


@@ -874,6 +880,9 @@ G4Material* MaterialsDefinition::GetMaterial(int index) {
    case 71:
        dummat = PVC;
        break;
    case 72:
        dummat = wood;
        break;
    }
    return dummat;
}
+1 −0
Original line number Diff line number Diff line
@@ -242,6 +242,7 @@ public:
    G4Material* PVC;
    
    G4Material* H2O;
    G4Material* wood;
    


+1 −1
Original line number Diff line number Diff line
@@ -119,9 +119,9 @@ void THELGlobalMemory::InitFiles() {

    #ifdef SQLITE3
        if(enableWriteSQlite3 && enableWriteXYZ) {
            sqlite3_config(SQLITE_CONFIG_SERIALIZED);
            sqlite3_xyz = new SQLliteOutput_XYZ();
            sqlite3_xyz->init();
            cout << sqlite3_threadsafe() << endl;
        }
    #endif
}
+1352 −17

File changed.

Preview size limit exceeded, changes collapsed.

Loading