![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <cahn_hilliard_boundary_conditions.h>
Public Member Functions | |
| CahnHilliardFunctionDefined (Functions::ParsedFunction< dim > *p_phi) | |
| double | value (const Point< dim > &p, unsigned int component) const override |
Private Attributes | |
| Functions::ParsedFunction< dim > * | phi |
Class that implements a boundary conditions for the Cahn-Hilliard equation where the phase and chemical potential are defined using individual functions.
Definition at line 120 of file cahn_hilliard_boundary_conditions.h.
|
inline |
Initialize the Cahn-Hilliard boundary function with its phase field.
| [in] | p_phi | The parsed function defining the phase field. |
Definition at line 131 of file cahn_hilliard_boundary_conditions.h.
References phi.
|
override |
Calculates the value of a Function-type for the Cahn-Hilliard equations.
| [in] | p | A point (generally a gauss point) |
| [in] | component | The vector component of the boundary condition (0-x, 1-y and 2-z) |
Definition at line 176 of file cahn_hilliard_boundary_conditions.cc.
References phi.
|
private |
Definition at line 123 of file cahn_hilliard_boundary_conditions.h.