Go to the documentation of this file.
75bool FEI2dQuadConst :: inside(
const FloatArray &lcoords)
const
77 const double point_tol = 1.0e-3;
79 for (
int i = 1; i <= 2; i++ ) {
80 if ( lcoords.
at(i) < ( -1. - point_tol ) ) {
82 }
else if ( lcoords.
at(i) > ( 1. + point_tol ) ) {
112FEI2dQuadConst :: edgeLocal2global(
FloatArray &answer,
int iedge,
119FEI2dQuadConst :: computeLocalEdgeMapping(
int iedge)
const
123 }
else if ( iedge == 2 ) {
125 }
else if ( iedge == 3 ) {
128 throw std::range_error(
"invalid egde number");
136 int nodeA = edgeNodes.
at(1);
137 int nodeB = edgeNodes.
at(2);
141 return sqrt(dx * dx + dy * dy);
144std::unique_ptr<IntegrationRule>
147 auto iRule = std::make_unique<GaussIntegrationRule>(1,
nullptr);
148 int points = iRule->getRequiredNumberOfIntegrationPoints(
_Square,
order + 0);
149 iRule->SetUpPointsOnSquare(points, _Unknown);
150 return std::move(iRule);
bool inside(const FloatArray &lcoords) 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
static FloatArray Vec1(const double &a)
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