MultiMooseEnum getCommonPetscOptions() { return MultiMooseEnum( "-dm_moose_print_embedding -dm_view -ksp_converged_reason -ksp_gmres_modifiedgramschmidt " "-ksp_monitor -ksp_monitor_snes_lg-snes_ksp_ew -ksp_snes_ew -snes_converged_reason " "-snes_ksp -snes_ksp_ew -snes_linesearch_monitor -snes_mf -snes_mf_operator -snes_monitor " "-snes_test_display -snes_view -snew_ksp_ew", "", true); }
MultiMooseEnum Output::getExecuteOptions(std::string default_type) { // Build the string of options std::string options = "none=0x00 initial=0x01 linear=0x02 nonlinear=0x04 timestep_end=0x08 timestep_begin=0x10 final=0x20 failed=0x80"; // The numbers associated must be in sync with the ExecFlagType in Moose.h return MultiMooseEnum(options, default_type); }
MultiMooseEnum getCommonPetscOptionsIname() { return MultiMooseEnum( "-ksp_atol -ksp_gmres_restart -ksp_grmres_restart -ksp_max_it -ksp_pc_side -ksp_rtol " "-ksp_type -mat_fd_coloring_err -mat_fd_type -mat_mffd_type -pc_asm_overlap -pc_factor_levels " "-pc_factor_mat_ordering_type -pc_hypre_boomeramg_grid_sweeps_all -pc_hypre_boomeramg_max_iter " "-pc_hypre_boomeramg_strong_threshold -pc_hypre_type -pc_type -snes_atol -snes_linesearch_type " "-snes_ls -snes_max_it -snes_rtol -snes_type -sub_ksp_type -sub_pc_type", "", true); }
InputParameters validParams<RankTwoScalarAction>() { InputParameters params = validParams<Action>(); params.addRequiredParam<std::vector<MaterialPropertyName> >("rank_two_tensor", "The rank two material tensors name"); params.addRequiredParam<MultiMooseEnum>("scalar_type", MultiMooseEnum("VonMisesStress EffectiveStrain Hydrostatic L2norm " "VolumetricStrain FirstInvariant SecondInvariant " "ThirdInvariant TriaxialityStress"), "Type of scalar outputs"); params.addParam<std::vector<SubdomainName> >("block", "The list of block ids (SubdomainID) that this object will be applied"); // TODO: create function to divide the integral by the volme / allow to do surfacic return params; }
MultiMooseEnum AdvancedOutput<T>::getOutputTypes() { return MultiMooseEnum("nodal=0 elemental=1 scalar=2 postprocessor=3 vector_postprocessor=4 input=5 system_information=6"); }
MultiMooseEnum SetupInterface::getExecuteOptions() { return MultiMooseEnum("initial residual jacobian timestep timestep_begin custom", "residual"); }
MultiMooseEnum MultiMooseEnum::withNamesFrom(const MooseEnumBase & other_enum) { return MultiMooseEnum(other_enum); }
MultiMooseEnum Control::getExecuteOptions() { return MultiMooseEnum("none=0x00 initial=0x01 linear=0x02 nonlinear=0x04 timestep_end=0x08 timestep_begin=0x10 custom=0x100 subdomain=0x200", "initial timestep_end"); }