32 #ifndef _LIN2DUSERDEFINED_HPP_ 33 #define _LIN2DUSERDEFINED_HPP_ 38 #include <Eigen/Dense> 59 Lin2DUserDefined(std::vector<double> properties, std::unique_ptr<Material> &material,
double theta=0.0);
94 Eigen::VectorXd
GetStrainAt(
double x3=0,
double x2=0);
100 Eigen::VectorXd
GetStressAt(
double x3=0,
double x2=0);
118 void UpdateState(
const Eigen::VectorXd strain,
const unsigned int cond);
void CommitState()
Perform converged section state update.
Eigen::MatrixXd GetTangentStiffness()
Returns the section stiffness matrix.
Eigen::MatrixXd GetDensity()
Access the section density matrix.
Virtual class for creating a section object.
Definition: Section.hpp:45
Eigen::VectorXd GetStrainAt(double x3=0, double x2=0)
Returns the section strain at given position.
This file contains the abstract "Material object" declarations, which computes the strain...
double Theta
Rotation angle.
Definition: Lin2DUserDefined.hpp:131
This file contains the abstract "Section object" declarations, which computes the strain...
Eigen::VectorXd GetStressAt(double x3=0, double x2=0)
Returns the section stress at given position.
std::unique_ptr< Section > CopySection()
Clone the 'Lin2DUserDefined' section.
Lin2DUserDefined(std::vector< double > properties, std::unique_ptr< Material > &material, double theta=0.0)
Creates a Section to be specified at a Gauss-point in an Element.
double I33
Inertia 3-axis.
Definition: Lin2DUserDefined.hpp:128
void ReverseState()
Reverse the section states to previous converged state.
~Lin2DUserDefined()
Destroys this Lin2DUserDefined object.
Eigen::VectorXd GetStrain()
Returns the resultant (generalised) strain vector over the section.
void InitialState()
Brings the section states to its initial state.
Eigen::VectorXd GetStress()
Returns the resultant (generalised) stress vector over the section.
void UpdateState(const Eigen::VectorXd strain, const unsigned int cond)
Update the section state for this iteration.
Eigen::VectorXd Strain
Generalized Strain vector.
Definition: Lin2DUserDefined.hpp:134
Eigen::MatrixXd GetInitialTangentStiffness()
Returns the section initial stiffness matrix.
double A
Area.
Definition: Lin2DUserDefined.hpp:122
Class for creating a general solid section for 3D analysis with linear elastic material for a frame e...
Definition: Lin2DUserDefined.hpp:50
std::unique_ptr< Material > theMaterial
The section's material.
Definition: Lin2DUserDefined.hpp:137
double As2
Shear area 2-axis.
Definition: Lin2DUserDefined.hpp:125