WARPXM v1.10.0
Loading...
Searching...
No Matches
wxm::dfem::dg_integrator Class Reference

#include <integrator.h>

Inheritance diagram for wxm::dfem::dg_integrator:
WmPatchProcess wxm::dfem::dg_max_integrator

Public Types

typedef std::vector< std::vector< std::pair< wxm::variable::distributed_variable_t *, size_t > > > variables_type
 

Public Member Functions

 dg_integrator ()
 
void setup (const WxCryptSet &wxc) override
 Setup the spatial solver using the cryptset.
 
void process () override
 
std::vector< std::vector< wxm::array::patch_array_t * > > get_patch_arrays (const variables_type &vars) const
 
virtual real integrate (const variables_type &vars)
 
- Public Member Functions inherited from WmPatchProcess
 WmPatchProcess ()
 
virtual ~WmPatchProcess ()=default
 
void step ()
 
virtual void process ()=0
 
void setPatch (const WmUnstructuredPatch *patch)
 
void setParentTaskProcessor (WmPatchProcessor *taskProcessor)
 
virtual std::string name (std::string prefix="patchedProcessor.") const
 
virtual void setup (const WxCryptSet &wxc)
 
void setParentSolver (const WmSolverBase *solver)
 
void setDt (WxStepper::time_t dt)
 
void setTime (WxStepper::time_t time)
 
WxStepper::time_t getSuggestedDt () const
 
const WmUnstructuredPatchget_patch () const
 
const WmSolverget_solver () const
 

Public Attributes

MPI_Op reduce_op
 

Protected Attributes

std::vector< std::unique_ptr< integrate_app > > apps
 
std::unique_ptr< WmUDGGeometrydg_geometry
 
WmBasisArraySet basis_set
 
wxm::dfem::tools::scope_t element_scope
 
std::vector< size_t > in_idcs
 
std::vector< size_t > stage_idcs
 
std::vector< std::vector< real > > in_buf
 
- Protected Attributes inherited from WmPatchProcess
std::string _ppName
 
WmPatchProcessor_parentTaskProcessor
 
const WmUnstructuredPatch_patch
 
std::vector< std::string > _onSubdomains
 
WxStepper::time_t _time
 
WxStepper::time_t _dt
 
WxStepper::time_t _suggested_dt
 
WxLogStream _debStrm = WxLogger::get("warpx-root.console")->getDebugStream()
 
const WmSolverBase_parentSolver = nullptr
 

Member Typedef Documentation

◆ variables_type

typedef std::vector< std::vector<std::pair<wxm::variable::distributed_variable_t*, size_t> > > wxm::dfem::dg_integrator::variables_type

Constructor & Destructor Documentation

◆ dg_integrator()

wxm::dfem::dg_integrator::dg_integrator ( )

Member Function Documentation

◆ get_patch_arrays()

std::vector< std::vector< wxm::array::patch_array_t * > > wxm::dfem::dg_integrator::get_patch_arrays ( const variables_type vars) const

◆ integrate()

virtual real wxm::dfem::dg_integrator::integrate ( const variables_type vars)
virtual

Reimplemented in wxm::dfem::dg_max_integrator.

◆ process()

void wxm::dfem::dg_integrator::process ( )
inlineoverridevirtual

Implements WmPatchProcess.

◆ setup()

void wxm::dfem::dg_integrator::setup ( const WxCryptSet wxc)
overridevirtual

Setup the spatial solver using the cryptset.

Parameters
wxcThe cryptset

Reimplemented from WmPatchProcess.

Member Data Documentation

◆ apps

std::vector<std::unique_ptr<integrate_app> > wxm::dfem::dg_integrator::apps
protected

◆ basis_set

WmBasisArraySet wxm::dfem::dg_integrator::basis_set
protected

◆ dg_geometry

std::unique_ptr<WmUDGGeometry> wxm::dfem::dg_integrator::dg_geometry
protected

◆ element_scope

wxm::dfem::tools::scope_t wxm::dfem::dg_integrator::element_scope
protected

◆ in_buf

std::vector<std::vector<real> > wxm::dfem::dg_integrator::in_buf
protected

◆ in_idcs

std::vector<size_t> wxm::dfem::dg_integrator::in_idcs
protected

◆ reduce_op

MPI_Op wxm::dfem::dg_integrator::reduce_op

◆ stage_idcs

std::vector<size_t> wxm::dfem::dg_integrator::stage_idcs
protected

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