Cross04
This is a MATLAB program for solving a continuous beam using the Cross Process. Euler-Bernoulli flexural behavior is assumed (Navier beam theory).
This program implements the Cross Process for continuous beams with uniformly distributed loads in each spam.
For more details of this process, refer to the book "Análise de Estruturas: Conceitos e Métodos Básicos", Second Edition, by Luiz Fernando Martha, Elsevier, 2017.
Contents
Object oriented classes
This program adopts an Object Oriented Programming (OOP) paradigm, in which the following OOP classes are implemented:
- CrossSolver class.
- CrossMember class.
- CrossNode class.
- CrossStep class.
- CrossDraw class.
- CrossControl class.
- CrossGUI class.
- Canvas class.
- Canvas_2D class
- CanvasCross class
- Emouse class.
- MouseEvents class.
Author
Luiz Fernando Martha
History
@version 1.03
Initial version 1.00: September 2026
Initially prepared for version Cross01 application of course CIV 2801 - Fundamentos de Computação Gráfica, 2026, second term, Department of Civil Engineering, PUC-Rio. Cross01 version has no canvas and controls the continuous beam Cross solution through control buttons.
Version 1.01: September 2026
Cross02 version: added model canvas and display of continuous beam model.
Version 1.02: October 2026
Cross03 version: implementation of drawing of deformed configuration and bending moment diagram.
Version 1.03: October 2026
Cross04 version: Implementation of procedures that treat mouse events for insertion of an internal support, deletion of an internal support, balancing of the bending moment at a selected internal node, modification of the value of a uniform load of a member, and modification of the position of a node.
Initialization
% Clear workspace clear close(findall(0,'Type','figure')); clear classes clc % Add path to canvas, cross, and images folders addpath('mouse','canvas','cross','gui','images');
Start up app
CrossGUI
%CrossGUI_code