MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
SimpleShapeCoefficient Class Reference

#include <friction.h>

Inheritance diagram for SimpleShapeCoefficient:
Collaboration diagram for SimpleShapeCoefficient:

Public Member Functions

virtual doublereal Sh_c (void) const
 
virtual doublereal Sh_c (const doublereal f, const doublereal F, const doublereal v)
 
virtual void dSh_c (ExpandableRowVector &dShc, const doublereal f, const doublereal F, const doublereal v, const ExpandableRowVector &dfc, const ExpandableRowVector &dF, const ExpandableRowVector &dv) const
 
- Public Member Functions inherited from BasicShapeCoefficient
virtual ~BasicShapeCoefficient (void)
 

Detailed Description

Simple shape coefficient: 1.

Definition at line 295 of file friction.h.

Member Function Documentation

void SimpleShapeCoefficient::dSh_c ( ExpandableRowVector dShc,
const doublereal  f,
const doublereal  F,
const doublereal  v,
const ExpandableRowVector dfc,
const ExpandableRowVector dF,
const ExpandableRowVector dv 
) const
virtual

Compute derivatives of the shape coefficient

Implements BasicShapeCoefficient.

Definition at line 558 of file friction.cc.

References ExpandableRowVector::Link(), ExpandableRowVector::ReDim(), and ExpandableRowVector::Set().

565  {
566  dShc.ReDim(1);
567  dShc.Set(1. ,1);
568  dShc.Link(1,&dfc);
569 };
void Set(doublereal xx, integer i, integer iidx)
Definition: JacSubMatrix.cc:95
void ReDim(const integer n)
Definition: JacSubMatrix.cc:50
void Link(const integer i, const ExpandableRowVector *const xp, const integer rhs_block=1)
Definition: JacSubMatrix.cc:68

Here is the call graph for this function:

doublereal SimpleShapeCoefficient::Sh_c ( void  ) const
virtual

Return last computed shape coefficient

Implements BasicShapeCoefficient.

Definition at line 547 of file friction.cc.

547  {
548  return 1.;
549 }
doublereal SimpleShapeCoefficient::Sh_c ( const doublereal  f,
const doublereal  F,
const doublereal  v 
)
virtual

Compute the shape coefficient

Implements BasicShapeCoefficient.

Definition at line 551 of file friction.cc.

554  {
555  return f;
556 };

The documentation for this class was generated from the following files: