linear_elasticity_traction_elements.cc
Go to the documentation of this file.
2
3namespace oomph
4{
5 //=======================================================================
6 /// Namespace containing the zero traction function for linear elasticity
7 /// traction elements
8 //=======================================================================
9 namespace LinearElasticityTractionElementHelper
10 {
11 void Zero_traction_fct(const double& time,
12 const Vector<double>& x,
13 const Vector<double>& N,
15 {
16 unsigned n_dim = load.size();
17 for (unsigned i = 0; i < n_dim; i++)
18 {
19 load[i] = 0.0;
20 }
21 }
22 } // namespace LinearElasticityTractionElementHelper
23} // namespace oomph
cstr elem_len * i
Definition cfortran.h:603
double size() const
Calculate the size of the element (length, area, volume,...) in Eulerian computational coordinates....
Definition elements.cc:4320
//////////////////////////////////////////////////////////////////////
void Zero_traction_fct(const double &time, const Vector< double > &x, const Vector< double > &N, Vector< double > &load)
Default load function (zero traction)
//////////////////////////////////////////////////////////////////// ////////////////////////////////...