Cthonios.CthoniosCommon
— Typelogger::Cthonios.CthoniosLogger
timer::Cthonios.CthoniosTimer
backend::Cthonios.CthoniosBackend
Cthonios.CthoniosCommon
— MethodCthoniosCommon(
file_name::String,
backend::Cthonios.CthoniosBackend
) -> Cthonios.CthoniosCommon
CthoniosCommon(file_name, backend)
Cthonios.CthoniosLogger
— Typelogger::LoggingExtras.FormatLogger
Cthonios.CthoniosLogger
— MethodCthoniosLogger(file_name::String) -> Cthonios.CthoniosLogger
CthoniosLogger(file_name)
Cthonios.CthoniosTimer
— Typetimer::TimerOutputs.TimerOutput
Cthonios.CthoniosTimer
— MethodCthoniosTimer() -> Cthonios.CthoniosTimer
CthoniosTimer()
Cthonios.PostProcessor
— MethodConstructor for post processor
closes exodus db by default, needs to be re-opend downstream this is mainly for debuggin purposes
Cthonios.end_section
— Methodend_section(section_name::String)
end_section(section_name)
Cthonios.load_input_file
— Methodload_input_file(input_file::String) -> Dict{Symbol, Any}
This method is a barrier method for type stability
load_input_file(input_file)
Cthonios.minimize_trust_region_sub_problem!
— Methodminimize_trust_region_sub_problem!(
z,
solver::Cthonios.TrustRegionSolver,
domain,
common::Cthonios.CthoniosCommon,
x::AbstractVector,
r_in::AbstractVector,
tr_size::Float64
) -> Tuple{Symbol, Int64}
minimize r * z + 0.5 * z * J * z
minimize_trust_region_sub_problem!(
z,
solver,
domain,
common,
x,
r_in,
tr_size
)
Cthonios.new_section
— Methodnew_section(section_name::String)
new_section(section_name)
Cthonios.parse_boundary_conditions
— Methodparse_boundary_conditions(
input_settings::Dict{Symbol, Any},
domain_key::Symbol
) -> Dict{Symbol, Any}
Barrier for type stability. Returns inputsettings[:boundaryconditions] but also replaces function names with function input settings.
parse_boundary_conditions(input_settings, domain_key)
Cthonios.parse_domains
— Methodparse_domains(
input_settings::Dict{Symbol, Any}
) -> Dict{Symbol, Any}
Helper to parse a domain and all settings need to set it up
parse_domains(input_settings)
Cthonios.parse_domains
— Methodparse_domains(
input_settings::Dict{Symbol, Any}
) -> Dict{Symbol, Any}
Helper to parse one domain
parse_domains(input_settings, key)
parse_domains(input_settings)
Cthonios.parse_functions
— Methodparse_functions(
input_settings::Dict{Symbol, Any}
) -> Dict{Symbol, Any}
Barrier for type stability. Simply returns input_settings[:functions]
parse_functions(input_settings)
Cthonios.parse_input_file
— Methodparse_input_file(input_file::String) -> Dict{Symbol, Any}
Main entry point for parsing
parse_input_file(input_file)
Cthonios.parse_linear_solvers
— Methodparse_linear_solvers(
input_settings::Dict{Symbol, Any}
) -> Dict{Symbol, Any}
Barrier for type stability. Simply returns input_settings[Symbol("linear solvers")]
parse_linear_solvers(input_settings)
Cthonios.parse_materials
— Methodparse_materials(
input_settings::Dict{Symbol, Any}
) -> Dict{Symbol, Any}
Barrier for type stability. Simply returns input_settings[:materials]
parse_materials(input_settings)
Cthonios.parse_mesh
— Methodparse_mesh(
input_settings::Dict{Symbol, Any},
domain_key::Symbol
) -> Dict{Symbol, String}
Barrier for type stability. Simply returns input_settings[:mesh]
parse_mesh(input_settings, domain_key)
Cthonios.parse_nonlinear_solvers
— Methodparse_nonlinear_solvers(
input_settings::Dict{Symbol, Any}
) -> Dict{Symbol, Any}
Barrier for type stability. Simply returns input_settings[Symbol("nonlinear solvers")]
parse_nonlinear_solvers(input_settings)
Cthonios.parse_problems
— Methodparse_problems(
input_settings::Dict{Symbol, Any},
domain_settings::Dict{Symbol, Any},
linear_solver_settings::Dict{Symbol, Any},
nonlinear_solver_settings::Dict{Symbol, Any}
) -> Any
Helper to parse problems
parse_problems(
input_settings,
domain_settings,
linear_solver_settings,
nonlinear_solver_settings
)
Cthonios.parse_sections
— Methodparse_sections(
input_settings::Dict{Symbol, Any},
domain_key::Symbol
) -> Vector{Dict{Symbol, Any}}
Barrier for type stability. Returns input_settings[:sections] but replaces material names with material definitions
parse_sections(input_settings, domain_key)
Cthonios.parse_time_stepper
— Methodparse_time_stepper(
input_settings::Dict{Symbol, Any},
domain_key::Symbol
) -> Dict{Symbol, Any}
Barrier for type stability. Simple returns input_settings[Symbol("time stepper")]
parse_time_stepper(input_settings, domain_key)
Cthonios.update_unknown_dofs!
— Methodupdate_unknown_dofs!(d::Cthonios.QuasiStaticDomain) -> Any
This methods assumes the bc dofs and func ids are already properly set in the domain coming in
update_unknown_dofs!(d)
Cthonios.with_logger
— Methodwith_logger(f, common::Cthonios.CthoniosCommon) -> Any
with_logger(f, common)
Cthonios.with_logger
— Methodwith_logger(f, logger::Cthonios.CthoniosLogger) -> Any
with_logger(f, logger)