Chi-Tech
lbs::acceleration::BoundaryCondition Struct Reference

#include <acceleration.h>

Data Fields

BCType type = BCType::DIRICHLET
 
std::array< double, 3 > values = {0, 0, 0}
 

Detailed Description

Simple data structure to specify boundary conditions. Its stores the BC-type in type and an array of 3 values in values. For a Dirichlet-BC only values[0] is used to specify the value of the BC. For a robin boundary condition we use all 3 values in the form

\[ a\phi + b \mathbf{n} \frac{\partial \phi}{\partial \mathbf{x}} = f \]

where $ a $, $ b $ and $ f $ map to values[0], values[1] and values[2], respectively.

Definition at line 41 of file acceleration.h.

Field Documentation

◆ type

BCType lbs::acceleration::BoundaryCondition::type = BCType::DIRICHLET

Definition at line 43 of file acceleration.h.

◆ values

std::array<double, 3> lbs::acceleration::BoundaryCondition::values = {0, 0, 0}

Definition at line 44 of file acceleration.h.


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