oomph::PMLTimeHarmonicLinearElasticityTractionElementHelper Namespace Reference

Functions

void Zero_traction_fct (const Vector< double > &x, const Vector< double > &N, Vector< std::complex< double >> &load)
 Default load function (zero traction) More...
 

Detailed Description

Namespace containing the zero traction function for linear elasticity traction elements

Function Documentation

◆ Zero_traction_fct()

void oomph::PMLTimeHarmonicLinearElasticityTractionElementHelper::Zero_traction_fct ( const Vector< double > &  x,
const Vector< double > &  N,
Vector< std::complex< double >> &  load 
)

Default load function (zero traction)

55  {
56  unsigned n_dim = load.size();
57  for (unsigned i = 0; i < n_dim; i++)
58  {
59  load[i] = std::complex<double>(0.0, 0.0);
60  }
61  }
int i
Definition: BiCGSTAB_step_by_step.cpp:9
void load(Archive &ar, ParticleHandler &handl)
Definition: Particles.h:21

References i, and load().

Referenced by oomph::PMLTimeHarmonicLinearElasticityTractionElement< ELEMENT >::PMLTimeHarmonicLinearElasticityTractionElement().