Skip to content

Commit

Permalink
Refs #6828 default values for wavelength
Browse files Browse the repository at this point in the history
  • Loading branch information
Vickie Lynch committed Apr 23, 2013
1 parent 61b3a2b commit 3b7717a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Code/Mantid/Framework/Kernel/inc/MantidKernel/Material.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ namespace Mantid
{
namespace Kernel
{
using PhysicalConstants::NeutronAtom;
/**
A material is defined as being composed of a given element, defined as a
PhysicalConstants::NeutronAtom, with the following properties:
Expand Down Expand Up @@ -75,13 +76,13 @@ namespace Mantid
/// Get the pressure
double pressure() const;
/// Get the coherent scattering cross section for a given wavelength
double cohScatterXSection(const double lambda) const;
double cohScatterXSection(const double lambda = NeutronAtom::ReferenceLambda) const;
/// Get the incoherent cross section for a given wavelength
double incohScatterXSection(const double lambda) const;
double incohScatterXSection(const double lambda = NeutronAtom::ReferenceLambda) const;
/// Return the total scattering cross section for a given wavelength
double totalScatterXSection(const double lambda) const;
double totalScatterXSection(const double lambda = NeutronAtom::ReferenceLambda) const;
/// Get the absorption cross section at a given wavelength
double absorbXSection(const double lambda) const;
double absorbXSection(const double lambda = NeutronAtom::ReferenceLambda) const;
//@}

void saveNexus(::NeXus::File * file, const std::string & group) const;
Expand Down

0 comments on commit 3b7717a

Please sign in to comment.