Skip to content

check_surface_dict

This module contains the routines, for pre-checking OptVL input dictionaries for errors.

pre_check_input_dict(input_dict)

This routine performs some verifications on a user's input diciontary to OptVL. It veries that geometry and control surfaces are specified in the correct format. Also checks to see if any unsupported keys are in the inputs dictionary and the surface and body subdictionaries and issues a warning if any are detected.

This routine does NOT type check inputs as that is handled in the load routine itself.

NOTE: There are other redundant specifications in AVL where specifying one option will override what is specified in another. This overriding behavior is standard in AVL but in the future OptVL may check for these redundancies and raise warnings or errors.

List non-checked redundancies: 1. nspan and sspace override nspans and sspaces only if 'use surface spacing' is True 2. 'cdcl' overrides 'cdclsec'

Parameters:

Name Type Description Default
input_dict

dict

required

Returns:

Name Type Description
input_dict

dict