Exemple #1
0
            public virtual object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
            {
                HavriliakNegamiSusceptibility s = new HavriliakNegamiSusceptibility();

                s._isDielectricData = true;
                return(s);
            }
Exemple #2
0
            public virtual void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info)
            {
                HavriliakNegamiSusceptibility s = (HavriliakNegamiSusceptibility)obj;

                info.AddValue("UseFrequency", s._useFrequencyInsteadOmega);
                info.AddValue("FlowTerm", s._useFlowTerm);
                info.AddValue("IsDielectric", s._isDielectricData);
            }
Exemple #3
0
            public virtual object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
            {
                HavriliakNegamiSusceptibility s = o != null ? (HavriliakNegamiSusceptibility)o : new HavriliakNegamiSusceptibility();

                s._useFrequencyInsteadOmega = info.GetBoolean("UseFrequency");
                s._useFlowTerm      = info.GetBoolean("FlowTerm");
                s._isDielectricData = info.GetBoolean("IsDielectric");
                return(s);
            }
Exemple #4
0
        public static IFitFunction CreateGeneralFunctionOfFrequency()
        {
            HavriliakNegamiSusceptibility result = new HavriliakNegamiSusceptibility();

            result._useFrequencyInsteadOmega = true;
            result._isDielectricData         = false;
            result._useFlowTerm = true;
            return(result);
        }
Exemple #5
0
        public static IFitFunction CreateGeneralFunctionOfOmega()
        {
            var result = new HavriliakNegamiSusceptibility
            {
                _useFrequencyInsteadOmega = false,
                _isDielectricData         = false,
                _useFlowTerm = true
            };

            return(result);
        }
Exemple #6
0
            public virtual object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
            {
                HavriliakNegamiSusceptibility s = o != null ? (HavriliakNegamiSusceptibility)o : new HavriliakNegamiSusceptibility();

                s._useFrequencyInsteadOmega = info.GetBoolean("UseFrequency");
                s._useFlowTerm         = info.GetBoolean("FlowTerm");
                s._isDielectricData    = info.GetBoolean("IsDielectric");
                s._invertViscosity     = info.GetBoolean("InvertViscosity");
                s.NumberOfRelaxations  = info.GetInt32("NumberOfRelaxations");
                s._invertResult        = info.GetBoolean("InvertResult");
                s._logarithmizeResults = info.GetBoolean("LogarithmizeResults");

                return(s);
            }
			public virtual object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent)
			{
				HavriliakNegamiSusceptibility s = new HavriliakNegamiSusceptibility();
				s._isDielectricData = true;
				return s;
			}
		public static IFitFunction CreateGeneralFunctionOfFrequency()
		{
			HavriliakNegamiSusceptibility result = new HavriliakNegamiSusceptibility();
			result._useFrequencyInsteadOmega = true;
			result._isDielectricData = false;
			result._useFlowTerm = true;
			return result;
		}