00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00032
00033
00034 #ifndef MaterialParameter_H
00035 #define MaterialParameter_H
00036
00037 #include <stresst.h>
00038
00039 class MaterialParameter
00040 {
00041 public:
00042
00043 MaterialParameter(const double *Material_Parameter_in = NULL,
00044 int Num_Material_Parameter_in = 0,
00045 const double *Internal_Scalar_in = NULL,
00046 int Num_Internal_Scalar_in = 0,
00047 const stresstensor *Internal_Tensor_in = NULL,
00048 int Num_Internal_Tensor_in = 0);
00049 MaterialParameter(const double *Material_Parameter_in,
00050 int Num_Material_Parameter_in,
00051 const stresstensor *Internal_Tensor_in,
00052 int Num_Internal_Tensor_in);
00053 MaterialParameter( );
00054 ~MaterialParameter( );
00055 MaterialParameter(const MaterialParameter &refer_MaterialParameter);
00056 MaterialParameter* newObj();
00057
00058 int getNum_Material_Parameter() const;
00059 int getNum_Internal_Scalar() const;
00060 int getNum_Internal_Tensor() const;
00061 double getMaterial_Parameter(int which) const;
00062 double getInternal_Scalar(int which) const;
00063 const stresstensor& getInternal_Tensor(int which) const;
00064
00065 int setMaterial_Parameter(int which, double newMaterial_Parameter);
00066 int setInternal_Scalar(int which, double newInternal_Scalar);
00067 int setInternal_Tensor(int which, const stresstensor &newInternal_Tensor);
00068
00069 private:
00070
00071 double *Material_Parameter;
00072 int Num_Material_Parameter;
00073 double *Internal_Scalar;
00074 int Num_Internal_Scalar;
00075 stresstensor *Internal_Tensor;
00076 int Num_Internal_Tensor;
00077 };
00078
00079
00080 #endif
00081