Toggle navigation
Documentation
Big picture
The finite element method
The data structure
Not-so-quick guide
Optimisation
Order of action functions
Example codes and tutorials
List of example codes and tutorials
Meshing
Solvers
MPI parallel processing
Post-processing/visualisation
Other
Change log
Creating documentation
Coding conventions
Index
FAQ
Installation
Installation guide
Copyright
About
People
Contact/Get involved
Publications
Acknowledgements
Picture show
Go
src
linear_elasticity
linear_elasticity_traction_elements.cc
Go to the documentation of this file.
1
#include "
linear_elasticity_traction_elements.h
"
2
3
namespace
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
,
14
Vector<double>
& load)
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
i
cstr elem_len * i
Definition:
cfortran.h:603
oomph::Vector< double >
linear_elasticity_traction_elements.h
oomph::LinearElasticityTractionElementHelper::Zero_traction_fct
void Zero_traction_fct(const double &time, const Vector< double > &x, const Vector< double > &N, Vector< double > &load)
Default load function (zero traction)
Definition:
linear_elasticity_traction_elements.cc:11
oomph::QuadTreeNames::N
@ N
Definition:
quadtree.h:60
oomph
//////////////////////////////////////////////////////////////////// ////////////////////////////////...
Definition:
advection_diffusion_elements.cc:30