virtual void ApplyConfigSection(const ConfigSection &config) { CustomPotentialSphericalBase<Rank>::ApplyConfigSection (config); config.Get("inter_nuclear_r", R); config.Get("theta_inter_nucl", ThetaR); }
void ApplyConfigSection(const ConfigSection &config) { config.Get("radial_rank_1", RadialRank1); config.Get("radial_rank_2", RadialRank2); config.Get("inner_box_size", InnerBoxSize); config.Get("width", Width); }
void ApplyConfigSection(const ConfigSection &config) { config.Get("radial_rank", RadialRank); config.Get("angular_rank", AngularRank); //charge with sign config.Get("charge", Charge); }
/* * Called once with the corresponding config section * from the configuration file. Do all one time set up routines * here. */ void ApplyConfigSection(const ConfigSection &config) { config.Get("zero_before", ZeroBefore); config.Get("zero_after", ZeroAfter); config.Get("step_rank", StepRank); }
/* * Called once with the corresponding config section * from the configuration file. Do all one time set up routines * here. */ void ApplyConfigSection(const ConfigSection &config) { config.Get("field_strength", FieldStrength); config.Get("frequency", Frequency); config.Get("duration", Duration); config.Get("peak_time", PeakTime); config.Get("phase", Phase); }
/* * Called once with the corresponding config section * from the configuration file. Do all one time set up routines * here. */ void ApplyConfigSection(const ConfigSection &config) { config.Get("pulse_duration", PulseDuration); config.Get("frequency", Frequency); config.Get("amplitude", Amplitude); convolutionFrequency = M_PI / PulseDuration; }
/* * Called once with the corresponding config section * from the configuration file. Do all one time set up routines * here. */ void ApplyConfigSection(const ConfigSection &config) { config.Get("radial_rank_1", radialRank1); config.Get("radial_rank_2", radialRank2); config.Get("absorber_start", absorberStart); config.Get("absorber_length", absorberLength); config.Get("scaling_real", scalingReal); config.Get("scaling_imag", scalingImag); config.Get("factor_real", factorReal); config.Get("factor_imag", factorImag); }
void ApplyConfigSection(const ConfigSection &config) { config.Get("charge", Charge); config.Get("laser_frequency", LaserFrequency); config.Get("laser_intensity", LaserIntensity); double laserTurnOnCycles = 0; config.Get("laser_turn_on_cycles", laserTurnOnCycles); LaserTurnOnTime = laserTurnOnCycles * 2 * M_PI / LaserFrequency; }
void GmresWrapper<Rank>::ApplyConfigSection(const ConfigSection &config) { config.Get("krylov_basis_size", Solver.BasisSize); if (config.HasValue("krylov_tolerance")) { config.Get("krylov_tolerance", Solver.Tolerance); } //Perform double orthogonalization step? if (config.HasValue("krylov_double_orthogonalization")) { bool performDoubleOrthogonalization; config.Get("krylov_double_orthogonalization", performDoubleOrthogonalization); cout << "Using doubleorth = " << performDoubleOrthogonalization << endl; Solver.PerformDoubleOrthogonalization = performDoubleOrthogonalization; } }
void CombinedRepresentation<Rank>::ApplyConfigSection(const ConfigSection &config) { //Do this manually for each sub-representation if (config.HasValue("innerproduct_algorithm")) { config.Get("innerproduct_algorithm", Algorithm); } }
void EditorTool::LoadSettings( ConfigSection& pSection ) { // Get our information from the config file. mVisible = (Bool)pSection.Get( "Visible", true ); mPosX = (Int32)pSection.Get( "PosX", (Int32)10 ); mPosY = (Int32)pSection.Get( "PosY", (Int32)10 ); mWidth = (Int32)pSection.Get( "Width", (Int32)50 ); mHeight = (Int32)pSection.Get( "Height", (Int32)50 ); // Set the window information. mWindow->resize( mWidth, mHeight ); if( mWindow->parentWidget() ) mWindow->parentWidget()->move( mPosX, mPosY ); // Show or hide the window depending of the setting. if( mVisible ) Show(); else Hide(); }
void ApplyConfigSection(const ConfigSection &config) { config.Get("energy_cutoff", EnergyCutoff); config.Get("grid_max", GridMax); config.Get("absorber_start", Start); config.Get("radial_rank_1", RadialRank1); config.Get("radial_rank_2", RadialRank2); A = 0.112449; B = 0.0082735; C = 2.62206; //Calculate absorber start double kmin = std::sqrt(2*EnergyCutoff); Start = GridMax - C / (2 * Delta * kmin); //Calculate delta double kmin = std::sqrt(2*EnergyCutoff); Delta = C / (2 * kmin * (GridMax - Start)); cout << "Manolopoulos absorber" << endl; cout << " Absorber starts at " << Start << std::endl; cout << " Delta parameter = " << Delta << std::endl; }
void ApplyConfigSection(const ConfigSection &config) { config.Get("charge", Charge); config.Get("softing", Softing); }
virtual void ApplyConfigSection(const ConfigSection &config) { CustomPotentialSphericalBase<Rank>::ApplyConfigSection(config); config.Get("mass", Mass); }
void ApplyConfigSection(const ConfigSection &config) { config.Get("radial_rank1", RadialRank1); config.Get("radial_rank2", RadialRank2); config.Get("angular_rank", AngularRank); }
/* * Called once with the corresponding config section * from the configuration file. Do all one time set up routines * here. */ void ApplyConfigSection(const ConfigSection &config) { config.Get("nuclear_separation", NuclearSeparation); config.Get("nuclear_softing", NuclearSofting); config.Get("repulsion_softing", RepulsionSofting); }
void ThetaRepresentation::ApplyConfigSection(const ConfigSection &config) { int maxl; config.Get("maxl", maxl); SetupRepresentation(maxl); }
void Propagator<Rank>::ApplyConfigSection(const ConfigSection &config) { config.Get("mass", Mass); cout << "TransformedGridPropagator: Mass = " << Mass << endl; }
void ApplyConfigSection(const ConfigSection &config) { config.Get("radial_rank_1", RadialRank1); config.Get("radial_rank_2", RadialRank2); config.Get("box_size", BoxSize); }
virtual void ApplyConfigSection(const ConfigSection &config) { CustomPotentialCoupledSphericalBase<Rank>::ApplyConfigSection(config); config.Get("scaling", Scaling); }
/* * Called once with the corresponding config section * from the configuration file. Do all one time set up routines * here. */ void ApplyConfigSection(const ConfigSection &config) { config.Get("mass", mass); }
/* * Called once with the corresponding config section * from the configuration file. Do all one time set up routines * here. */ void ApplyConfigSection(const ConfigSection &config) { config.Get("z", Z); config.Get("radial_rank1", RadialRank1); config.Get("radial_rank2", RadialRank2); }
void ApplyConfigSection(const ConfigSection &config) { config.Get("soft", soft); config.Get("charge", charge); }
/* * Called once with the corresponding config section * from the configuration file. Do all one time set up routines * here. */ void ApplyConfigSection(const ConfigSection &config) { config.Get("strength", Strength); config.Get("width", Width); }
void ExpokitPropagator<Rank>::ApplyConfigSection(const ConfigSection &config) { config.Get("krylov_basis_size", BasisSize); config.Get("krylov_tolerance", Tolerance); config.Get("krylov_norm", MatrixNorm); }
void RungeKuttaWrapper<Rank>::ApplyConfigSection(const ConfigSection &config) { config.Get("integrator_type", this->IntegratorType); }