Go to the documentation of this file.
50FEI1dLin :: evalN(
double ksi)
52 return {( 1. - ksi ) * 0.5, ( 1. + ksi ) * 0.5};
58 double ksi = lcoords.
at(1);
61 answer.
at(1) = ( 1. - ksi ) * 0.5;
62 answer.
at(2) = ( 1. + ksi ) * 0.5;
65std::pair<double, FloatMatrixF<1,2>>
69 return {0.5 * l, {-1.0 / l, 1.0 / l}};
78 answer.
at(1, 1) = -1.0 / l;
79 answer.
at(2, 1) = 1.0 / l;
89 this->
evalN(n, lcoords, cellgeo);
99 double ksi = ( 2.0 * coords.
at(1) - ( x1 + x2 ) ) / ( x2 - x1 );
101 answer.
at(1) =
clamp(ksi, -1., 1.);
102 return fabs(ksi) <= 1.0;
118 this->
evalN(answer, lcoords, cellgeo);
void local2global(FloatArray &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
static FloatArrayF< 2 > evalN(double ksi)
double giveTransformationJacobian(const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
virtual const FloatArray giveVertexCoordinates(int i) const =0
void resize(Index rows, Index cols)
double at(std::size_t i, std::size_t j) const
double clamp(int a, int lower, int upper)
Returns the clamped value of a between upper and lower.
This page is part of the
OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak
Bořek Patzák
Project e-mail:
oofem@fsv.cvut.cz
Generated at for OOFEM by
doxygen
1.15.0 written by Dimitri van Heesch,
© 1997-2011