Public Member Functions | |
ArbitraryEulerianSource (std::string coupledFieldName, std::shared_ptr< mathFunctions::MathFunction > sourceFunction) | |
void | ComputeRHS (PetscReal time, accessors::SwarmAccessor &swarmAccessor, accessors::RhsAccessor &rhsAccessor, accessors::EulerianAccessor &eulerianAccessor) override |
void | ComputeEulerianSource (PetscReal startTime, PetscReal endTime, accessors::SwarmAccessor &swarmAccessorPreStep, accessors::SwarmAccessor &swarmAccessorPostStep, accessors::EulerianSourceAccessor &eulerianSourceAccessor) override |
ablate::particles::processes::ArbitraryEulerianSource::ArbitraryEulerianSource | ( | std::string | coupledFieldName, |
std::shared_ptr< mathFunctions::MathFunction > | sourceFunction | ||
) |
Adds an arbitrary source function for each particle to the eulerian field
coupledFieldName | the name of the eulerian coupled field |
sourceFunction | the function to compute the source |
|
overridevirtual |
Add the arbitrary source to the eulerianSourceAccessor
startTime | |
endTime | |
swarmAccessorPreStep | |
swarmAccessorPostStep | |
eulerianSourceAccessor |
Implements ablate::particles::processes::CoupledProcess.
|
inlineoverridevirtual |
There is no RHS function for the ArbitraryEulerianSource
Implements ablate::particles::processes::Process.