Cap18
Documentation for Cap18.
Cap18.DLResultCap18.EnvelopesCap18.Header1Cap18.ReactionsCap18.StiffnessLoadDataCap18.Table4ACap18.change_string_by_slicingCap18.get_input_lineCap18.parse_to_string
Cap18.DLResult — Typestruct DLResultA result from the Table4A table (just one entry).
Fields
sta::Int- station along bentdist::Float64- actual distance along bentdefl::Float64- deflection of bent at stationmoment::Float64- moment of bent at stationshear::Float64- sheat of bent at station
Cap18.Envelopes — Typestruct EnvelopesA result from Table6 table (just one entry).
Fields
sta::Int- station along bentdist::Float64- actual distance along bentmax_moment::Float64- envelope of max positive momentmin_moment::Float64- envelope of max negative momentmax_shear::Float64- envelope of max positive shearmin_shear::Float64- envelope of max negative shear
Cap18.Header1 — Typestruct Header1Contains project information needed to run Cap18.
Fields
file_num_5::String = "00001"- file number for the project (5 slots available)county_13::String = "___County____"- county for the project (13 slots available)hwy_num_6::String = "Highwy"- highway number for the project (6 slots available)proj_num_4::String = "Pro#"- project number (4 slots available)csj_11::String = "0000-00-000"- CSJ for the project (11 slots available)coded_by_3::String = "BRG"- Initials of originator (3 slots available)date_12::String = ""- date (12 slots available)comment_7::String = "Comment"- additional comment (7 slots available)
Examples
julia> h1 = Header1()
Header1("00001", "___County____", "Highwy", "Pro#", "0000-00-000", "BRG", "", "Comment")
julia> write(h1) # this writes header info to the .dat file
Cap18.Reactions — Typestruct ReactionsA result from Table7 table (just one entry).
Fields
sta::Int- station along bentdist::Float64- actual distance along bentmax_reaction::Float64- maximum reaction at supportmin_reaction::Float64- minimum reaction at support
Cap18.StiffnessLoadData — Typestruct StiffnessLoadDataA result from Table4 table (just one entry). Loads input as Cap and Stringer loads are applied directly to the cap. Loads input as Slab and Sidewalk Loads and Moving Loads are transmitted to the cap through the stringers, if any. Concentrated overlay loads are applied directly to the cap while distributed overlay loads are automatically transmitted to the cap through the stringers.
Fields
sta_from::Int- starting stationsta_to::Int- ending stationcontd::Int-cap_bending_stiffness::Float64- bending stiffness of the cap (kip*ft^2)sidewalk_slab_loads::Float64- sidewalk load (transmitted through stringers)stringer_cap_loads::Float64- stringer loadsoverlay_loads::Float64- overlay loadsmovable_position_slab_loads::Float64- movable loads
Cap18.Table4A — Typestruct Table4ATable4A of the Cap18 analysis results.
Fields
results::Vector{DLResult}- collection of the dead load results from Table4A
Cap18.change_string_by_slicing — Methodchange_string_by_slicing(original_string, start_index, end_index, new_substring)A function to change parts of a string by slicing. This returns a new string. It is strict. The start and ending index range of the string will be replaced with the same number of characters. The function will error if more characters are given than the range provided. It will fill the left side of the range with spaces if the substring is smaller than the range provided.
Parameters
original_string - original string to modify start_index - index where modification starts end_index - index where modification ends new_substring - substring which will be inserted into string
Cap18.get_input_line — Methodget_input_line(
x::T,
input_info::Dict{Symbol, Tuple{Int64, Int64}},
n::Int) where T
get_input_line(
x::T,
input_info::Dict{Symbol, Tuple{Int64, Int64, Int64}},
n::Int) where TThis function takes a cap18 input struct, and outputs the line string for the .dat file that the CAP18.exe file uses.
Cap18.parse_to_string — Methodparse_to_string(x) = string(x)
parse_to_string(x::Bool) = string(convert(Int, x))Parses an object type to a string type. For a boolean type, it parses as 1 or 0.