Fixed: Transpose the TCo matrix input to get3db.

Added: Parsing of width (B) and height (H) of rectangular beam cross sections.
Also handle the absense of rotation matrices more gracefully (if 2D g2-file).

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2877 e10b68d5-8a6e-419e-a041-bce267b0401d
This commit is contained in:
kmo
2014-07-16 18:02:00 +00:00
committed by Knut Morten Okstad
parent e1271675e9
commit a938a510cf
2 changed files with 4 additions and 4 deletions

View File

@@ -777,7 +777,7 @@ bool ASMs1D::integrate (Integrand& integrand,
if (integrand.getIntegrandType() & Integrand::NODAL_ROTATIONS)
{
this->getElementNodalRotations(fe.Tn,iel);
fe.Te = elmCS[iel];
if (!elmCS.empty()) fe.Te = elmCS[iel];
}
// Initialize element matrices
@@ -928,7 +928,7 @@ bool ASMs1D::integrate (Integrand& integrand, int lIndex,
if (integrand.getIntegrandType() & Integrand::NODAL_ROTATIONS)
{
this->getElementNodalRotations(fe.Tn,iel);
fe.Te = elmCS[iel];
if (!elmCS.empty()) fe.Te = elmCS[iel];
}
// Initialize element matrices

View File

@@ -248,7 +248,7 @@ bool ASMs1DLag::integrate (Integrand& integrand,
if (integrand.getIntegrandType() & Integrand::NODAL_ROTATIONS)
{
this->getElementNodalRotations(fe.Tn,iel);
fe.Te = elmCS[iel];
if (!elmCS.empty()) fe.Te = elmCS[iel];
}
// Initialize element quantities
@@ -369,7 +369,7 @@ bool ASMs1DLag::integrate (Integrand& integrand, int lIndex,
if (integrand.getIntegrandType() & Integrand::NODAL_ROTATIONS)
{
this->getElementNodalRotations(fe.Tn,iel);
fe.Te = elmCS[iel];
if (!elmCS.empty()) fe.Te = elmCS[iel];
}
// Initialize element quantities