Public Member Functions | List of all members
aspect::BoundaryTraction::ZeroTraction< dim > Class Template Reference
Inheritance diagram for aspect::BoundaryTraction::ZeroTraction< dim >:
Inheritance graph

Public Member Functions

Tensor< 1, dim > boundary_traction (const types::boundary_id boundary_indicator, const Point< dim > &position, const Tensor< 1, dim > &normal_vector) const override
- Public Member Functions inherited from aspect::BoundaryTraction::Interface< dim >
virtual ~Interface ()=default
virtual void initialize ()
virtual void update ()
virtual void parse_parameters (ParameterHandler &prm)

Additional Inherited Members

- Static Public Member Functions inherited from aspect::BoundaryTraction::Interface< dim >
static void declare_parameters (ParameterHandler &prm)
- Protected Attributes inherited from aspect::BoundaryTraction::Interface< dim >
const GeometryModel::Interface< dim > * geometry_model

Detailed Description

template<int dim>
class aspect::BoundaryTraction::ZeroTraction< dim >

A class that implements zero traction boundary conditions. This is equivalent to an open boundary condition in domains where hydrostatic pressure is irrelevant.

Definition at line 41 of file zero_traction.h.

Member Function Documentation

§ boundary_traction()

template<int dim>
Tensor<1,dim> aspect::BoundaryTraction::ZeroTraction< dim >::boundary_traction ( const types::boundary_id  boundary_indicator,
const Point< dim > &  position,
const Tensor< 1, dim > &  normal_vector 
) const

Return the boundary traction as a function of position. The (outward) normal vector to the domain is also provided as a second argument.

For the current class, this function obviously simply returns a zero tensor.

Implements aspect::BoundaryTraction::Interface< dim >.

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