hexed 0.3.0
 
Loading...
Searching...
No Matches
hexed::Layer_sequence Class Reference

Selects a growth profile for anisotropic wall layers. More...

#include <Layer_sequence.hpp>

Public Member Functions

 Layer_sequence (double wall_spacing, int n_wall)
 
int n_layers ()
 
double spacing (int i_layer)
 
double cumulative_height (int i_layer)
 

Detailed Description

Selects a growth profile for anisotropic wall layers.

That is, given a few high-level parameters, it can compute the height that each layer should have for effective boundary layer resolution.

Constructor & Destructor Documentation

◆ Layer_sequence()

hexed::Layer_sequence::Layer_sequence ( double wall_spacing,
int n_wall )

Will generate n_wall layers with thickness wall_spacing and then add exponentially growing layers on top until it reaches a total height of 1. Uses the minimum number of layers required to keep the growth ratio approximately 2.


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