ABLATE Source Documentation  0.12.34
ablate::particles::accessors::EulerianSourceAccessor Class Reference

#include <eulerianSourceAccessor.hpp>

+ Inheritance diagram for ablate::particles::accessors::EulerianSourceAccessor:

Public Member Functions

 EulerianSourceAccessor (bool cachePointData, const DM &swarmDm, const std::map< std::string, Field > &fieldsMap)
 
PointData CreateData (const std::string &fieldName) override
 
 EulerianSourceAccessor (const EulerianSourceAccessor &)=delete
 
- Public Member Functions inherited from ablate::particles::accessors::Accessor< PetscReal >
 Accessor (bool cachePointData)
 
 Accessor (const Accessor &)=delete
 
Data< PetscReal > operator[] (const std::string &fieldName)
 
Data< PetscReal > GetData (const std::string &fieldName)
 
void RegisterCleanupFunction (const std::function< void()> &function)
 

Static Public Attributes

static const char CoupledSourceTermPostfix [] = "_CoupledSourceTerm"
 

Additional Inherited Members

Detailed Description

Allows pushing source terms to the particle source array based upon variable/component name. The coupled solver is used to push back to the flow field ts

Constructor & Destructor Documentation

◆ EulerianSourceAccessor()

ablate::particles::accessors::EulerianSourceAccessor::EulerianSourceAccessor ( const EulerianSourceAccessor )
delete

prevent copy of this class

Member Function Documentation

◆ CreateData()

PointData ablate::particles::accessors::EulerianSourceAccessor::CreateData ( const std::string &  fieldName)
inlineoverridevirtual

Create point data from the source field in the DM

Parameters
fieldName
Returns

Implements ablate::particles::accessors::Accessor< PetscReal >.


The documentation for this class was generated from the following file: