MBSim

Project Page
Public Member Functions | Protected Attributes
MBSim::InfluenceFunction Class Reference

function describing the influence between the deformations on a body More...

#include <function.h>

Inheritance diagram for MBSim::InfluenceFunction:
MBSim::Function2< double, fmatvec::Vec, fmatvec::Vec > MBSim::ConstantInfluenceFunction MBSim::FlexibilityInfluenceFunction

List of all members.

Public Member Functions

 InfluenceFunction (const std::string &firstContourName_, const std::string &secondContourName_)
virtual double operator() (const fmatvec::Vec &firstContourLagrangeParameter, const fmatvec::Vec &secondContourLagrangeParameter, const void *=NULL)=0
virtual void initializeUsingXML (TiXmlElement *element)
 initialize function with XML code
std::string getFirstContourName ()
std::string getSecondContourName ()
- Public Member Functions inherited from MBSim::Function2< double, fmatvec::Vec, fmatvec::Vec >
virtual ~Function2 ()
 destructor

Protected Attributes

std::string firstContourName
 name of the first contour (to assign the Lagrange parameter, i.e.
std::string secondContourName
 name of the second contour (to assign the Lagrange parameter, i.e.

Detailed Description

function describing the influence between the deformations on a body


Member Function Documentation

virtual void MBSim::InfluenceFunction::initializeUsingXML ( TiXmlElement *  element)
inlinevirtual

initialize function with XML code

Parameters:
XMLelement

Reimplemented from MBSim::Function2< double, fmatvec::Vec, fmatvec::Vec >.

virtual double MBSim::InfluenceFunction::operator() ( const fmatvec::Vec &  p1,
const fmatvec::Vec &  p2,
const void *  = NULL 
)
pure virtual
Returns:
return value of function
Parameters:
argumentof function
optionalparameter class

Implements MBSim::Function2< double, fmatvec::Vec, fmatvec::Vec >.

Implemented in MBSim::ConstantInfluenceFunction, and MBSim::FlexibilityInfluenceFunction.


Member Data Documentation

std::string MBSim::InfluenceFunction::firstContourName
protected

name of the first contour (to assign the Lagrange parameter, i.e.

the contour parameter, to the contour)

std::string MBSim::InfluenceFunction::secondContourName
protected

name of the second contour (to assign the Lagrange parameter, i.e.

the contour parameter, to the contour)


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