Class OmegaHControlVariateProjection
Defined in File omega_h_control_variate_projection.hpp
Inheritance Relationships
Base Type
public TransferOperator< Real >
Class Documentation
-
class OmegaHControlVariateProjection : public TransferOperator<Real>
Public Functions
- Parameters:
source – source evaluated at the target’s DOF holders and samples
target_space – order-1 Omega_h Lagrange space receiving the result
samples_per_element – Monte Carlo samples per target element
seed – seed of the sampling
mass_matrix_type – consistent or lumped mass matrix
to_source – map from the target’s coordinate system to the source geometry’s, or null if they are the same; the source is evaluated at the mapped points and its values re-expressed through it Holds
sourceandtarget_space.
- Throws:
pcms_error – if the source has no geometry
-
~OmegaHControlVariateProjection() override
-
void Apply(const Field<Real> &source, Field<Real> &target) const override