TraceOperator.h file
Function trace operator for boundary restriction.
This file defines the TraceOperator class, which computes the trace (boundary restriction) of functions to specified mesh boundaries. This is different from the matrix trace in Trace.h - this operator restricts function domains.
Mathematical Foundation
For a function and boundary , the trace operator computes:
which is the restriction of to the boundary .
Trace Theorem
For , the trace is well-defined and belongs to .
Applications
- Boundary condition evaluation
- Surface integrals
- Coupling interface conditions
- Weak boundary term evaluation
Usage Example
// Evaluate function on specific boundary auto u_boundary = TraceOperator(u, boundary_attr); // Use in boundary integral auto bc = BoundaryIntegral(u_boundary, v).on(boundary_attr);
Namespaces
- namespace Rodin
- The Rodin library for finite element methods and shape optimization.
- namespace Rodin::Variational
- Finite element spaces, fields, and variational problems.
Classes
-
template<>class Rodin::Variational::TraceOperator<FunctionBase>
- Trace (boundary restriction) operator for functions.