SOFA API  98f76541
Open source framework for multi-physics simuation
sofa::component::mapping::linear::VoidMapping Class Reference

#include <VoidMapping.h>

Inheritance diagram for sofa::component::mapping::linear::VoidMapping:

Protected Attributes

InfromModel
 
OuttoModel
 

Public Member Functions

 SOFA_CLASS (VoidMapping, LinearBaseMapping)
 
void init () override
 
virtual type::vector< core::BaseState * > getFrom () override
 Accessor to the input model of this mapping. More...
 
virtual type::vector< core::BaseState * > getTo () override
 Accessor to the output model of this mapping. More...
 
void disable () override
 Disable the mapping to get the original coordinates of the mapped model. More...
 
virtual type::vector< sofa::core::behavior::BaseMechanicalState * > getMechFrom () override
 Get the source (upper) model. More...
 
virtual type::vector< sofa::core::behavior::BaseMechanicalState * > getMechTo () override
 Get the destination (lower, mapped) model. More...
 
void apply (const core::MechanicalParams *, core::MultiVecCoordId, core::ConstMultiVecCoordId) override
 
void applyJ (const core::MechanicalParams *, core::MultiVecDerivId, core::ConstMultiVecDerivId) override
 
void applyJT (const core::MechanicalParams *, core::MultiVecDerivId, core::ConstMultiVecDerivId) override
 
void applyDJT (const core::MechanicalParams *, core::MultiVecDerivId, core::ConstMultiVecDerivId) override
 
void applyJT (const core::ConstraintParams *, core::MultiMatrixDerivId, core::ConstMultiMatrixDerivId) override
 
void computeAccFromMapping (const core::MechanicalParams *, core::MultiVecDerivId, core::ConstMultiVecDerivId, core::ConstMultiVecDerivId) override
 
- Public Member Functions inherited from sofa::component::mapping::linear::crtp::CRTPLinearMapping< TMapping >
 SOFA_CLASS (SOFA_TEMPLATE(CRTPLinearMapping, TMapping), TMapping)
 
virtual bool isLinear () const override
 

Protected Member Functions

 VoidMapping ()
 
 ~VoidMapping () override
 

Attribute details

◆ fromModel

In* sofa::component::mapping::linear::VoidMapping::fromModel
protected

◆ toModel

Out* sofa::component::mapping::linear::VoidMapping::toModel
protected

Constructor details

◆ VoidMapping()

sofa::component::mapping::linear::VoidMapping::VoidMapping ( )
inlineprotected

◆ ~VoidMapping()

sofa::component::mapping::linear::VoidMapping::~VoidMapping ( )
inlineoverrideprotected

Function details

◆ apply()

void sofa::component::mapping::linear::VoidMapping::apply ( const core::MechanicalParams ,
core::MultiVecCoordId  ,
core::ConstMultiVecCoordId   
)
inlineoverride

◆ applyDJT()

void sofa::component::mapping::linear::VoidMapping::applyDJT ( const core::MechanicalParams ,
core::MultiVecDerivId  ,
core::ConstMultiVecDerivId   
)
inlineoverride

◆ applyJ()

void sofa::component::mapping::linear::VoidMapping::applyJ ( const core::MechanicalParams ,
core::MultiVecDerivId  ,
core::ConstMultiVecDerivId   
)
inlineoverride

◆ applyJT() [1/2]

void sofa::component::mapping::linear::VoidMapping::applyJT ( const core::ConstraintParams ,
core::MultiMatrixDerivId  ,
core::ConstMultiMatrixDerivId   
)
inlineoverride

◆ applyJT() [2/2]

void sofa::component::mapping::linear::VoidMapping::applyJT ( const core::MechanicalParams ,
core::MultiVecDerivId  ,
core::ConstMultiVecDerivId   
)
inlineoverride

◆ computeAccFromMapping()

void sofa::component::mapping::linear::VoidMapping::computeAccFromMapping ( const core::MechanicalParams ,
core::MultiVecDerivId  ,
core::ConstMultiVecDerivId  ,
core::ConstMultiVecDerivId   
)
inlineoverride

◆ disable()

void sofa::component::mapping::linear::VoidMapping::disable ( )
inlineoverride

Disable the mapping to get the original coordinates of the mapped model.

◆ getFrom()

virtual type::vector<core::BaseState*> sofa::component::mapping::linear::VoidMapping::getFrom ( )
inlineoverridevirtual

Accessor to the input model of this mapping.

◆ getMechFrom()

virtual type::vector<sofa::core::behavior::BaseMechanicalState*> sofa::component::mapping::linear::VoidMapping::getMechFrom ( )
inlineoverridevirtual

Get the source (upper) model.

◆ getMechTo()

virtual type::vector<sofa::core::behavior::BaseMechanicalState*> sofa::component::mapping::linear::VoidMapping::getMechTo ( )
inlineoverridevirtual

Get the destination (lower, mapped) model.

◆ getTo()

virtual type::vector<core::BaseState*> sofa::component::mapping::linear::VoidMapping::getTo ( )
inlineoverridevirtual

Accessor to the output model of this mapping.

◆ init()

void sofa::component::mapping::linear::VoidMapping::init ( void  )
inlineoverride

◆ SOFA_CLASS()

sofa::component::mapping::linear::VoidMapping::SOFA_CLASS ( VoidMapping  ,
LinearBaseMapping   
)