## Description

FORCE AT XYZ NODE Loader for a constant force applied at a XYZ node.

Note that an equivalent shortcut is to set directly the node's own force member data as mynode->SetForce(), but this other approach is more object-oriented (es. you can apply multiple forces at a single node, etc) Another option is to use ChLoadXYZnodeForceAbsolute

#include <ChLoadsXYZnode.h>

## Public Member Functions

virtual void ComputeF (const double U, const double V, const double W, ChVectorDynamic<> &F, ChVectorDynamic<> *state_x, ChVectorDynamic<> *state_w)
Children classes must provide this function that evaluates F = F(u,v,w) This will be evaluated during ComputeQ() to perform integration over the domain. More...

void SetForce (const ChVector<> &mf)
Set the force, assumed to be constant in space and time and assumed applied at the node.

const ChVectorGetForce () const
Get the applied force.

Public Member Functions inherited from chrono::ChLoaderUVWatomic

virtual void ComputeQ (ChVectorDynamic<> *state_x, ChVectorDynamic<> *state_w) override
Computes Q = N'*F. More...

void SetApplication (double mu, double mv, double mw)
Set the position, in the volume, where the atomic load is applied.

Public Member Functions inherited from chrono::ChLoaderUVW

Public Member Functions inherited from chrono::ChLoader
virtual bool IsStiff ()

double Pu

double Pv

double Pw

ChVectorDynamic Q

## ◆ ComputeF()

 virtual void chrono::ChLoaderXYZnode::ComputeF ( const double U, const double V, const double W, ChVectorDynamic<> & F, ChVectorDynamic<> * state_x, ChVectorDynamic<> * state_w )
inlinevirtual

Children classes must provide this function that evaluates F = F(u,v,w) This will be evaluated during ComputeQ() to perform integration over the domain.

Parameters
 U parametric coordinate in volume V parametric coordinate in volume W parametric coordinate in volume F Result F vector here, size must be = n.field coords.of loadable state_x if != 0, update state (pos. part) to this, then evaluate F state_w if != 0, update state (speed part) to this, then evaluate F