Skip to content

Commit

Permalink
Remove duplicates of Polystyrene material
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian authored and Fabian committed Oct 20, 2023
1 parent b87174d commit 0dbc3de
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 53 deletions.
47 changes: 0 additions & 47 deletions source/materials/MaterialsList.cc
Original file line number Diff line number Diff line change
Expand Up @@ -795,53 +795,6 @@ namespace materials {
}


// Kuraray Y-11
G4Material* Y11()
{
G4String name = "Y11"; //

G4Material* mat = G4Material::GetMaterial(name, false);

if (mat == 0) {
G4NistManager* nist = G4NistManager::Instance();

// The base is Polystyrene
// Linear formula: (C8H8)n
G4Element* H = nist->FindOrBuildElement("H");
G4Element* C = nist->FindOrBuildElement("C");

mat = new G4Material(name, 1.05* g / cm3, 2, kStateSolid);
mat->AddElement(H, 8);
mat->AddElement(C, 8);
}

return mat;
}

// Kuraray B-2
G4Material* B2()
{
G4String name = "B2"; //

G4Material* mat = G4Material::GetMaterial(name, false);

if (mat == 0) {
G4NistManager* nist = G4NistManager::Instance();

// The base is Polystyrene
// Linear formula: (C8H8)n
G4Element* H = nist->FindOrBuildElement("H");
G4Element* C = nist->FindOrBuildElement("C");

mat = new G4Material(name, 1.05* g / cm3, 2, kStateSolid);
mat->AddElement(H, 8);
mat->AddElement(C, 8);
}

return mat;
}


// Pethylene (cladding material)
G4Material* Pethylene()
{
Expand Down
6 changes: 0 additions & 6 deletions source/materials/MaterialsList.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,6 @@ namespace materials {
// FR4
G4Material* FR4();

// Kuraray Fiber Y11
G4Material* Y11();

// Kuraray Fiber B2
G4Material* B2();

// Pethylene (cladding)
G4Material* Pethylene();

Expand Down

0 comments on commit 0dbc3de

Please sign in to comment.