Skip to content

Commit

Permalink
Merge branch '3d' of github:arfc/moltres into eigen3d4group
Browse files Browse the repository at this point in the history
Conflicts:
	problems/MooseGold/single_msre_channel_velocity_heat_nts/heat-nts-single-channel-msre-dimensions.i
  • Loading branch information
gridley committed Jul 6, 2017
2 parents 585968d + fcf6476 commit 2f6ef28
Show file tree
Hide file tree
Showing 34 changed files with 4,882 additions and 51 deletions.
50 changes: 50 additions & 0 deletions include/materials/GraphiteTwoGrpXSFunctionMaterial.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#ifndef GRAPHITETWOGRPXSFUNCTIONMATERIAL_H_
#define GRAPHITETWOGRPXSFUNCTIONMATERIAL_H_

#include "GenericConstantMaterial.h"
#include "SplineInterpolation.h"
#include "BicubicSplineInterpolation.h"
#include "MonotoneCubicInterpolation.h"
#include "LinearInterpolation.h"

class GraphiteTwoGrpXSFunctionMaterial;

template <>
InputParameters validParams<GraphiteTwoGrpXSFunctionMaterial>();

class GraphiteTwoGrpXSFunctionMaterial : public GenericConstantMaterial
{
public:
GraphiteTwoGrpXSFunctionMaterial(const InputParameters & parameters);

protected:
virtual void computeQpProperties();

const VariableValue & _T;
// const MaterialProperty<Real> & _rho;

MaterialProperty<std::vector<Real>> & _remxs;
MaterialProperty<std::vector<Real>> & _fissxs;
MaterialProperty<std::vector<Real>> & _nsf;
MaterialProperty<std::vector<Real>> & _fisse;
MaterialProperty<std::vector<Real>> & _diffcoef;
MaterialProperty<std::vector<Real>> & _recipvel;
MaterialProperty<std::vector<Real>> & _chi;
MaterialProperty<std::vector<Real>> & _gtransfxs;
MaterialProperty<std::vector<Real>> & _beta_eff;
MaterialProperty<Real> & _beta;
MaterialProperty<std::vector<Real>> & _decay_constant;
MaterialProperty<std::vector<Real>> & _d_remxs_d_temp;
MaterialProperty<std::vector<Real>> & _d_fissxs_d_temp;
MaterialProperty<std::vector<Real>> & _d_nsf_d_temp;
MaterialProperty<std::vector<Real>> & _d_fisse_d_temp;
MaterialProperty<std::vector<Real>> & _d_diffcoef_d_temp;
MaterialProperty<std::vector<Real>> & _d_recipvel_d_temp;
MaterialProperty<std::vector<Real>> & _d_chi_d_temp;
MaterialProperty<std::vector<Real>> & _d_gtransfxs_d_temp;
MaterialProperty<std::vector<Real>> & _d_beta_eff_d_temp;
MaterialProperty<Real> & _d_beta_d_temp;
MaterialProperty<std::vector<Real>> & _d_decay_constant_d_temp;
};

#endif // GRAPHITETWOGRPXSFUNCTIONMATERIAL_H
50 changes: 50 additions & 0 deletions include/materials/MsreFuelTwoGrpXSFunctionMaterial.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#ifndef MSREFUELTWOGRPXSFUNCTIONMATERIAL_H_
#define MSREFUELTWOGRPXSFUNCTIONMATERIAL_H_

#include "GenericConstantMaterial.h"
#include "SplineInterpolation.h"
#include "BicubicSplineInterpolation.h"
#include "MonotoneCubicInterpolation.h"
#include "LinearInterpolation.h"

class MsreFuelTwoGrpXSFunctionMaterial;

template <>
InputParameters validParams<MsreFuelTwoGrpXSFunctionMaterial>();

class MsreFuelTwoGrpXSFunctionMaterial : public GenericConstantMaterial
{
public:
MsreFuelTwoGrpXSFunctionMaterial(const InputParameters & parameters);

protected:
virtual void computeQpProperties();

const VariableValue & _T;
// const MaterialProperty<Real> & _rho;

MaterialProperty<std::vector<Real>> & _remxs;
MaterialProperty<std::vector<Real>> & _fissxs;
MaterialProperty<std::vector<Real>> & _nsf;
MaterialProperty<std::vector<Real>> & _fisse;
MaterialProperty<std::vector<Real>> & _diffcoef;
MaterialProperty<std::vector<Real>> & _recipvel;
MaterialProperty<std::vector<Real>> & _chi;
MaterialProperty<std::vector<Real>> & _gtransfxs;
MaterialProperty<std::vector<Real>> & _beta_eff;
MaterialProperty<Real> & _beta;
MaterialProperty<std::vector<Real>> & _decay_constant;
MaterialProperty<std::vector<Real>> & _d_remxs_d_temp;
MaterialProperty<std::vector<Real>> & _d_fissxs_d_temp;
MaterialProperty<std::vector<Real>> & _d_nsf_d_temp;
MaterialProperty<std::vector<Real>> & _d_fisse_d_temp;
MaterialProperty<std::vector<Real>> & _d_diffcoef_d_temp;
MaterialProperty<std::vector<Real>> & _d_recipvel_d_temp;
MaterialProperty<std::vector<Real>> & _d_chi_d_temp;
MaterialProperty<std::vector<Real>> & _d_gtransfxs_d_temp;
MaterialProperty<std::vector<Real>> & _d_beta_eff_d_temp;
MaterialProperty<Real> & _d_beta_d_temp;
MaterialProperty<std::vector<Real>> & _d_decay_constant_d_temp;
};

#endif // MSREFUELTWOGRPXSFUNCTIONMATERIAL_H
Loading

0 comments on commit 2f6ef28

Please sign in to comment.