Import Geant4 10.6.0.beta source tree
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -86,7 +86,7 @@ void FormattedText::WriteInto(const G4String& output,
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
void FormattedText::AddEmptyLineInOuputFile()
|
||||
void FormattedText::AddEmptyLineInOutputFile()
|
||||
{
|
||||
if(fFileInitialized) fOfstream << G4endl;
|
||||
}
|
||||
|
||||
@@ -27,23 +27,18 @@
|
||||
#include "G4VDNAReactionModel.hh"
|
||||
|
||||
G4VDNAReactionModel::G4VDNAReactionModel()
|
||||
: fpReactionTable(nullptr)
|
||||
{
|
||||
fReactionTable = 0;
|
||||
}
|
||||
|
||||
G4VDNAReactionModel::G4VDNAReactionModel(const G4VDNAReactionModel& right)
|
||||
G4VDNAReactionModel::~G4VDNAReactionModel() = default;
|
||||
|
||||
void G4VDNAReactionModel::SetReactionTable(const G4DNAMolecularReactionTable* pReactionTable)
|
||||
{
|
||||
fReactionTable = right.fReactionTable;
|
||||
fpReactionTable = pReactionTable;
|
||||
}
|
||||
|
||||
G4VDNAReactionModel::~G4VDNAReactionModel()
|
||||
const G4DNAMolecularReactionTable* G4VDNAReactionModel::GetReactionTable()
|
||||
{
|
||||
fReactionTable = 0;
|
||||
}
|
||||
|
||||
G4VDNAReactionModel& G4VDNAReactionModel::operator=(const G4VDNAReactionModel& right)
|
||||
{
|
||||
if (this == &right) return *this;
|
||||
fReactionTable = right.fReactionTable;
|
||||
return *this;
|
||||
return fpReactionTable;
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ G4VUserChemistryList::~G4VUserChemistryList()
|
||||
G4DNAChemistryManager* chemMan = G4DNAChemistryManager::GetInstanceIfExists();
|
||||
if (chemMan)
|
||||
{
|
||||
chemMan->Deregister(this);
|
||||
chemMan->Deregister(*this);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user