Skip to content

Commit

Permalink
Added class NeutronBk2BkExpConvPVoigt. Refs #7653.
Browse files Browse the repository at this point in the history
  • Loading branch information
wdzhou committed Aug 8, 2013
1 parent d9c5f67 commit 9837841
Show file tree
Hide file tree
Showing 4 changed files with 104 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Code/Mantid/Framework/CurveFitting/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ set ( SRC_FILES
src/Lorentzian1D.cpp
src/MultiDomainCreator.cpp
src/MuonFInteraction.cpp
src/NeutronBk2BkExpConvPVoigt.cpp
src/PRConjugateGradientMinimizer.cpp
src/ParDomain.cpp
src/PlotPeakByLogValue.cpp
Expand Down Expand Up @@ -149,6 +150,7 @@ set ( INC_FILES
inc/MantidCurveFitting/Lorentzian1D.h
inc/MantidCurveFitting/MultiDomainCreator.h
inc/MantidCurveFitting/MuonFInteraction.h
inc/MantidCurveFitting/NeutronBk2BkExpConvPVoigt.h
inc/MantidCurveFitting/PRConjugateGradientMinimizer.h
inc/MantidCurveFitting/ParDomain.h
inc/MantidCurveFitting/PlotPeakByLogValue.h
Expand Down Expand Up @@ -231,6 +233,7 @@ set ( TEST_FILES
MultiDomainCreatorTest.h
MultiDomainFunctionTest.h
MuonFInteractionTest.h
NeutronBk2BkExpConvPVoigtTest.h
PRConjugateGradientTest.h
PlotPeakByLogValueTest.h
PolynomialTest.h
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
#ifndef MANTID_CURVEFITTING_NEUTRONBK2BKEXPCONVPVOIGT_H_
#define MANTID_CURVEFITTING_NEUTRONBK2BKEXPCONVPVOIGT_H_

#include "MantidKernel/System.h"
#include "MantidAPI/IPowderDiffPeakFunction.h"
#include "MantidKernel/Logger.h"

namespace Mantid
{
namespace CurveFitting
{

/** NeutronBk2BkExpConvPVoigt : TODO: DESCRIPTION
Copyright © 2013 ISIS Rutherford Appleton Laboratory & NScD Oak Ridge National Laboratory
This file is part of Mantid.
Mantid is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
Mantid is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
File change history is stored at: <https://github.com/mantidproject/mantid>
Code Documentation is available at: <http://doxygen.mantidproject.org>
*/
class DLLExport NeutronBk2BkExpConvPVoigt
{
public:
NeutronBk2BkExpConvPVoigt();
virtual ~NeutronBk2BkExpConvPVoigt();

};


} // namespace CurveFitting
} // namespace Mantid

#endif /* MANTID_CURVEFITTING_NEUTRONBK2BKEXPCONVPVOIGT_H_ */
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#include "MantidCurveFitting/NeutronBk2BkExpConvPVoigt.h"

namespace Mantid
{
namespace CurveFitting
{


//----------------------------------------------------------------------------------------------
/** Constructor
*/
NeutronBk2BkExpConvPVoigt::NeutronBk2BkExpConvPVoigt()
{
}

//----------------------------------------------------------------------------------------------
/** Destructor
*/
NeutronBk2BkExpConvPVoigt::~NeutronBk2BkExpConvPVoigt()
{
}



} // namespace CurveFitting
} // namespace Mantid
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#ifndef MANTID_CURVEFITTING_NEUTRONBK2BKEXPCONVPVOIGTTEST_H_
#define MANTID_CURVEFITTING_NEUTRONBK2BKEXPCONVPVOIGTTEST_H_

#include <cxxtest/TestSuite.h>

#include "MantidCurveFitting/NeutronBk2BkExpConvPVoigt.h"

using Mantid::CurveFitting::NeutronBk2BkExpConvPVoigt;

class NeutronBk2BkExpConvPVoigtTest : public CxxTest::TestSuite
{
public:
// This pair of boilerplate methods prevent the suite being created statically
// This means the constructor isn't called when running other tests
static NeutronBk2BkExpConvPVoigtTest *createSuite() { return new NeutronBk2BkExpConvPVoigtTest(); }
static void destroySuite( NeutronBk2BkExpConvPVoigtTest *suite ) { delete suite; }


void test_Something()
{
TSM_ASSERT( "You forgot to write a test!", 0);
}


};


#endif /* MANTID_CURVEFITTING_NEUTRONBK2BKEXPCONVPVOIGTTEST_H_ */

0 comments on commit 9837841

Please sign in to comment.