89 double eta = dl / length;
90 ksi = ( dl - 0.5 * length ) / ( 0.5 * length );
95 if ( ( ksi < -1.0 ) || ( ksi > 1.0 ) ) {
101 for ( i = 1; i <= dir.
giveSize(); i++ ) {
114 n1 = ( 1. - ksi ) * 0.5;
115 n2 = ( 1. + ksi ) * 0.5;
#define _IFT_LinearEdgeLoad_startcoord
void subtract(const FloatArray &src)
Subtracts array src to receiver.
virtual void giveInputRecord(DynamicInputRecord &input)
Setups the input record string of receiver.
REGISTER_BoundaryCondition(BoundaryCondition)
double & at(int i)
Coefficient access function.
virtual void computeNArray(FloatArray &answer, const FloatArray &coords) const
Abstract function, for computing approximation matrix of receiver at given point. ...
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
double distance(const FloatArray &x) const
Computes the distance between position represented by receiver and position given as parameter...
bool isEmpty() const
Returns true if receiver is empty.
Class representing vector of real numbers.
#define _IFT_LinearEdgeLoad_formulation
IRResultType
Type defining the return values of InputRecord reading operations.
IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
void zero()
Zeroes all coefficients of receiver.
FloatArray startCoords
Coordinates of start and end point.
int giveSize() const
Returns the size of receiver.
the oofem namespace is to define a context or scope in which all oofem names are defined.
#define _IFT_LinearEdgeLoad_endcoord
#define OOFEM_WARNING(...)
virtual void giveInputRecord(DynamicInputRecord &input)
Setups the input record string of receiver.
FormulationType formulation
void resize(int s)
Resizes receiver towards requested size.