|
Feellgood
|
#include <absorbing_ends.h>
Public Member Functions | |
| double | alpha (const double alpha0, const double x) const |
Public Attributes | |
| bool | enable = false |
| Nodes::index | axis = Nodes::IDX_Z |
| double | length = 0 |
| double | alpha_max = 1 |
| std::vector< std::string > | regions |
| double | lo = 0 |
| double | hi = 0 |
Along an axis, over a length \( L \) at each end of the union of the selected volume regions (not at the ends of each of them), the damping goes from the physical value \( \alpha_0 \) of the region to \( \alpha_{\max} \): \( \alpha = \alpha_0 + (\alpha_{\max}-\alpha_0) \sin^2\left(\frac{\pi}{2}\frac{s}{L}\right) \), where \( s \) is the depth in the zone (0 at its inner boundary, \( L \) at the end of the union), so that \( d\alpha/ds = 0 \) at both boundaries of the zone. The damping is evaluated at the Gauss points of the LLG assembly.
|
inline |
damping at the coordinate x (along the axis, in meters) of a region of damping alpha0
| double AbsorbingEnds::alpha_max = 1 |
damping at the two ends of the union of the selected regions
| Nodes::index AbsorbingEnds::axis = Nodes::IDX_Z |
axis of the wire
| bool AbsorbingEnds::enable = false |
if false, the damping is the one of the regions everywhere
| double AbsorbingEnds::hi = 0 |
upper bound of the union of the selected regions along the axis, in meters (set from the mesh)
| double AbsorbingEnds::length = 0 |
length of each absorbing zone, in meters
| double AbsorbingEnds::lo = 0 |
lower bound of the union of the selected regions along the axis, in meters (set from the mesh)
| std::vector<std::string> AbsorbingEnds::regions |
names of the selected volume regions (empty: all the volume regions)