Skip to contents

Checks that an object of class "cross_section" has a valid structure and valid cross section properties.

Usage

validate_cross_section(cross_section)

Arguments

cross_section

Object of class "cross_section".

Value

Returns the original cross_section object. Note that this function is intended to be run for its side effects: namely, throwing an error if the cross_section is invalid.