L_domain Documentation
This is the documentation for the L_domain
module.
Available Functions
Main.L_domain.L_domain_boundary_condition
— FunctionL_domain_boundary_condition(points::Vector{Tuple{Float64, Float64}}) -> Vector{Float64}
Evaluate the boundary condition of a PDE on an L-shaped domain.
Arguments
points::Vector{Tuple{Float64, Float64}}
: A vector of tuples where each tuple contains the x and y coordinates of a point.
Returns
- A
Vector{Float64}
representing the boundary condition at each point.
Example
points = [(0.1, 0.2), (0.3, 0.4), (0.5, 0.6)]
g = L_domain_boundary_condition(points)
Main.L_domain.L_domain_rhs
— FunctionL_domain_rhs(points::Matrix{Float64}) -> Vector{Float64}
Evaluate the right-hand side function of a PDE on an L-shaped domain.
Arguments
points::Matrix{Float64}
: A matrix where each row contains the x and y coordinates of a point.
Returns
- A
Vector{Float64}
representing the value of the right-hand side function at each point.
Example
points = [0.1 0.2; 0.3 0.4; 0.5 0.6]
f = L_domain_rhs(points)