oomph::CoupledSolidNode Class Reference

#include <CoupledSolidNodes.h>

+ Inheritance diagram for oomph::CoupledSolidNode:

Public Member Functions

 CoupledSolidNode (const unsigned &n_lagrangian, const unsigned &n_lagrangian_type, const unsigned &n_dim, const unsigned &n_position_type, const unsigned &initial_n_value)
 
 CoupledSolidNode (TimeStepper *const &time_stepper_pt_, const unsigned &n_lagrangian, const unsigned &n_lagrangian_type, const unsigned &n_dim, const unsigned &n_position_type, const unsigned &initial_n_value)
 
void set_coupling_weight (const double &weight)
 Set and get function for the coupling weight and force. More...
 
const double get_coupling_weight ()
 
void set_coupling_force (const Vector< double > &cForce)
 
Vector< doubleget_coupling_force () const
 

Private Attributes

double coupling_weight
 Weighting factor for coupling with other method. More...
 
Vector< doublecoupling_force
 Coupling force on the node. More...
 

Detailed Description

adds a coupling weight and coupling force to each SolidNode

Constructor & Destructor Documentation

◆ CoupledSolidNode() [1/2]

oomph::CoupledSolidNode::CoupledSolidNode ( const unsigned &  n_lagrangian,
const unsigned &  n_lagrangian_type,
const unsigned &  n_dim,
const unsigned &  n_position_type,
const unsigned &  initial_n_value 
)
inline
31  : SolidNode(n_lagrangian, n_lagrangian_type, n_dim, n_position_type, initial_n_value) {}

◆ CoupledSolidNode() [2/2]

oomph::CoupledSolidNode::CoupledSolidNode ( TimeStepper *const &  time_stepper_pt_,
const unsigned &  n_lagrangian,
const unsigned &  n_lagrangian_type,
const unsigned &  n_dim,
const unsigned &  n_position_type,
const unsigned &  initial_n_value 
)
inline
39  : SolidNode(time_stepper_pt_, n_lagrangian, n_lagrangian_type, n_dim, n_position_type, initial_n_value) {}

Member Function Documentation

◆ get_coupling_force()

Vector<double> oomph::CoupledSolidNode::get_coupling_force ( ) const
inline
48 { return coupling_force; }
Vector< double > coupling_force
Coupling force on the node.
Definition: CoupledSolidNodes.h:22

References coupling_force.

◆ get_coupling_weight()

const double oomph::CoupledSolidNode::get_coupling_weight ( )
inline
44 { return coupling_weight; }
double coupling_weight
Weighting factor for coupling with other method.
Definition: CoupledSolidNodes.h:19

References coupling_weight.

◆ set_coupling_force()

void oomph::CoupledSolidNode::set_coupling_force ( const Vector< double > &  cForce)
inline
46 { coupling_force = cForce; }

References coupling_force.

◆ set_coupling_weight()

void oomph::CoupledSolidNode::set_coupling_weight ( const double weight)
inline

Set and get function for the coupling weight and force.

42 { coupling_weight = weight; }

References coupling_weight.

Member Data Documentation

◆ coupling_force

Vector<double> oomph::CoupledSolidNode::coupling_force
private

Coupling force on the node.

Referenced by get_coupling_force(), and set_coupling_force().

◆ coupling_weight

double oomph::CoupledSolidNode::coupling_weight
private

Weighting factor for coupling with other method.

Referenced by get_coupling_weight(), and set_coupling_weight().


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