12#ifndef BELFEM_CL_MATERIAL_NICKEL_HPP
13#define BELFEM_CL_MATERIAL_NICKEL_HPP
25 Bezier * mReducedMagnetization = nullptr ;
26 Bezier * mThermalExpansion = nullptr ;
33 Bezier * mKohlerLongBezier = nullptr ;
38 Bezier * mYoungBezier = nullptr ;
43 const bool aBuildTables =
true );
69 create_magnetization_curve();
81 create_debye_and_rho();
95 return mReducedMagnetization->y( T / Tc );
100 return polyval( mDebyePoly, T );
107 if ( T < mYoungBezier->basis_x()( 0 ) )
110 return p( 0 ) - p( 1 ) * T * std::exp( -p( 2 ) / T );
112 if ( T < mYoungBezier->basis_x()( 3 ) )
114 return mYoungBezier->y( T );
117 return p( 0 ) - p( 1 ) * T * std::exp( -p( 2 ) / T );
124 if ( T < mYoungBezier->basis_x()( 0 ) )
127 return - p( 1 ) * std::exp( -p( 2 ) / T ) * ( T + p( 2 ) ) / T ;
129 if ( T < mYoungBezier->basis_x()( 3 ) )
131 return mYoungBezier->dydx( T );
134 return - p( 1 ) * std::exp( -p( 2 ) / T ) * ( T + p( 2 ) ) / T ;
Definition cl_Bezier.hpp:30
Cell is a wrapper around the standard vector.
Definition cl_Cell.hpp:42
real constant_property(const MaterialProperty aProperty) const
Get constant property value.
Definition cl_Material.hpp:1787
Ferromagnetic(const string &aLabel, const bool aBuildTables=true)
Definition cl_Material_Ferromagnetic.cpp:18
real E_custom(const real T) const override
Definition cl_Material_Nickel.hpp:104
real kohler(const real B, const real S, const real beta) const override
Kohler function for magnetoresistance.
Definition cl_Material_Nickel.cpp:262
real alpha_custom(const real T) const override
Definition cl_Material_Nickel.cpp:169
real compute_mred(real T) const override
Definition cl_Material_Nickel.hpp:91
Nickel(const real RRR=BELFEM_QUIET_NAN, const bool aBuildTables=true)
Definition cl_Material_Nickel.cpp:19
real debye_custom(const real T) const override
Definition cl_Material_Nickel.hpp:98
real dEdT_custom(const real T) const override
Definition cl_Material_Nickel.hpp:121
Definition cl_BhCurve.cpp:19
T polyval(const std::vector< T > &coeffs, const T x)
Definition cl_Material_UserDefined.hpp:28
USER GUIDES:
Definition cl_Capacitor.cpp:16
constexpr real BELFEM_EPSILON
Definition typedefs.hpp:90
@ Tcurie
Definition cl_Material.hpp:188
@ RRR
Definition cl_Material.hpp:182
double real
Definition typedefs.hpp:36
#define BELFEM_QUIET_NAN
Definition typedefs.hpp:87