FEDEM Solver  R8.0
Source code of the dynamics solver
Modules | Functions/Subroutines
curveTypeModule.f90 File Reference

Subroutines for contact surface point calculations. More...

Modules

module  curvetypemodule
 Module with subroutines for contact surface point calculations.
 

Functions/Subroutines

subroutine curvetypemodule::getposoncurve (jointId, interpolationOrder, curvePts, slideVar, loopLength, isExtended, isLooping, PosOnCurveG, tanVec, coeff, rotGrad, ierr)
 Computes position variables along a contact curve. More...
 
subroutine curvetypemodule::getposoncircsection (Pos, DefPrev, CP1, CP2, thickness, width, radius, isInDomain, PosOnCurveG, Xsi, Def)
 Checks if a given point Pos is on a circular curve segment. More...
 
subroutine curvetypemodule::getposcornersection (Pos, DefPrev, CP1, thickness, width, radius, isInDomain, PosOnCurveG, Def)
 Checks if Pos is in a corner section of a curve. More...
 
subroutine curvetypemodule::rotateaboutz (PosMat, theta)
 Transforms the given position matrix by rotating it the given angle theta about its local Z-axis. More...
 
subroutine, private curvetypemodule::adjusttheta (oldTheta, newTheta)
 Adjust an angular quantity such that it is within the range [-2π,2π]. More...
 
subroutine, private curvetypemodule::cubic3d (PNod, S, PPt, tanVec, ShapeFunc, dirVec)
 Finds the position of a point on a cubic curve in space. More...
 
real(dp) function, dimension(3) posvec (s)
 Evaluates a cubic curve at the parametric point s. More...
 
real(dp) function, dimension(3) gradvec (s)
 Evaluates the gradient of a cubic curve at the point s. More...
 

Detailed Description

Subroutines for contact surface point calculations.

Function/Subroutine Documentation

◆ gradvec()

real(dp) function, dimension(3) cubic3d::gradvec ( real(dp), intent(in)  s)

Evaluates the gradient of a cubic curve at the point s.

◆ posvec()

real(dp) function, dimension(3) cubic3d::posvec ( real(dp), intent(in)  s)

Evaluates a cubic curve at the parametric point s.