refactor(exports): Export block API and common BC functions

- Export PreparedElement, prepare_element!, compute_block!, compute_block_at_point
- Export apply_neumann_bcs!, apply_dirichlet_bcs! from common location
- Update include path for domains/common/boundary_conditions.jl
- Document that BC functions work with any kernel/domain type
This commit is contained in:
Jukka Aho
2025-11-19 02:13:55 +02:00
parent 2522087e62
commit f2a08184a9
+13
View File
@@ -430,9 +430,22 @@ include("assemblers/nodal_based.jl")
# LEVEL 5: PHYSICAL DOMAINS (Domain-specific assembly kernels)
# ============================================================================
# ============================================================================
# COMMON DOMAIN UTILITIES (Shared across all domain types)
# ============================================================================
# Boundary conditions (generic - work with any kernel/domain)
include("domains/common/boundary_conditions.jl")
export apply_neumann_bcs!, apply_dirichlet_bcs! # Explicit BC application
# ============================================================================
# CONTINUUM MECHANICS DOMAIN
# ============================================================================
# Continuum mechanics kernel
include("domains/continuum/kernel.jl")
export ContinuumKernel
export PreparedElement, prepare_element!, compute_block!, compute_block_at_point # Block API
# Continuum assembly (uses generic assemblers)
include("domains/continuum/assemble.jl")