`Get_ModelScale`

## Purpose

determines maximum and minimum element length in Model

## Synopsis

`[ModSc,maxL,minL] = Get_ModelScale (Model,Ratio)`

## Description

GET_MODELSCALE determines maximum and minimum element length in Model [MODSC,MAXL,MINL] = GET_MODELSCALE(MODEL,RATIO) the function determines a critical scale for the structural model in data structure MODEL from the maximum distance MAXL and the minimum distance MINL between nodes i and j of line elements; the maximum distance MAXL is divided by RATIO (default = 1.5-0.5*MINL/MAXL); depending on the value of RATIO the model scale is equal to the largest (RATIO<MAXL/MINL) or smallest distance (RATIO>MAXL/MINL)

## Cross-Reference Information

This function calls:

- ElmLenOr element length and x-axis orientation (direction cosines)

- Get_IPVarDistr plots distribution of integration point variables of elements with sections
- Plot_2dCurvDistr plot curvature distribution of 2d linear elastic frame elements
- Plot_2dMomntDistr plots moment distribution for 2d frame elements in current window
- Plot_AxialForces plot axial forces in current window
- Plot_IPVarDistr plots distribution of integration point variables of elements with sections
- Label_Model displays element and node numbers and global axes in the current window
- Plot_DeformedStructure plot deformed shape of the structure
- Plot_ElemLoading display element loading in current window
- Plot_Model plots the original or deformed geometry of the structural model
- Plot_NodalForces display nodal forces in current window
- Plot_OpenPlasticHinges display plastic hinge locations in original or deformed configuration
- Plot_PlasticHinges display plastic hinge locations in current window
- Plot_Releases display element releases in current window