Ejemplo n.º 1
0
        public KrakenInputProfile GetKrakenInputProfile()
        {
            var nModes     = 44;
            var frequency  = 10.0;
            var nMedia     = 2;
            var options    = "RTR";
            var bcBottom   = "R";
            var mediumInfo = new List <List <double> >();
            var ssp        = new List <List <double> >();
            var bsigma     = 0.0;
            var cLow       = 0;
            var cHigh      = 0;
            var rMax       = 100;
            var nsd        = 1;
            var sDepths    = new List <double>();
            var nrd        = 1;
            var rDepths    = new List <double>();
            var tahsp      = new List <double>();
            var tsp        = new List <double>();
            var bahsp      = new List <double>();

            var krakenInputProfile = new KrakenInputProfile(nModes, frequency, nMedia,
                                                            options, bcBottom, mediumInfo, ssp, bsigma, cLow, cHigh, rMax,
                                                            nsd, sDepths, nrd, rDepths, tahsp, tsp, bahsp);

            return(krakenInputProfile);
        }
Ejemplo n.º 2
0
        public Mock <IMapper <AcousticProblemData, KrakenInputProfile> > KrakenInputProfileMapper(KrakenInputProfile krakenInputProfile)
        {
            var mock = new Mock <IMapper <AcousticProblemData, KrakenInputProfile> >();

            mock.Setup(x => x.Map(It.IsAny <AcousticProblemData>())).Returns(krakenInputProfile);

            return(mock);
        }