SOFA API  1c8b807d
Open source framework for multi-physics simuation
sofa::simulation::SolveVisitorTask Class Reference

#include <SolveVisitor.h>

A task to provide to a task scheduler in which a solver solves. More...

Inheritance diagram for sofa::simulation::SolveVisitorTask:

Detailed Description

A task to provide to a task scheduler in which a solver solves.

Public Member Functions

 SolveVisitorTask (sofa::simulation::CpuTask::Status *status, sofa::core::behavior::OdeSolver *odeSolver, const sofa::core::ExecParams *params, SReal dt, sofa::core::MultiVecCoordId x, sofa::core::MultiVecDerivId v)
 
 ~SolveVisitorTask () override=default
 
sofa::simulation::Task::MemoryAlloc run () final
 
- Public Member Functions inherited from sofa::simulation::CpuTask
StatusgetStatus (void) const override final
 
 CpuTask (Status *status, int scheduledThread=-1)
 
virtual ~CpuTask ()=default
 
- Public Member Functions inherited from sofa::simulation::Task
 Task (int scheduledThread)
 
virtual ~Task ()=default
 
int getScheduledThread () const
 

Additional Inherited Members

- Public Attributes inherited from sofa::simulation::Task
int m_id
 
- Protected Attributes inherited from sofa::simulation::Task
int m_scheduledThread
 
- Static Public Member Functions inherited from sofa::simulation::Task
static void * operator new (std::size_t sz)
 
static void operator delete (void *ptr)
 
static void operator delete (void *ptr, std::size_t sz)
 
static void * operator new[] (std::size_t sz)=delete
 
static Task::AllocatorgetAllocator ()
 
static void setAllocator (Task::Allocator *allocator)
 

Constructor details

◆ SolveVisitorTask()

sofa::simulation::SolveVisitorTask::SolveVisitorTask ( sofa::simulation::CpuTask::Status status,
sofa::core::behavior::OdeSolver odeSolver,
const sofa::core::ExecParams params,
SReal  dt,
sofa::core::MultiVecCoordId  x,
sofa::core::MultiVecDerivId  v 
)
inline

◆ ~SolveVisitorTask()

sofa::simulation::SolveVisitorTask::~SolveVisitorTask ( )
overridedefault

Function details

◆ run()

sofa::simulation::Task::MemoryAlloc sofa::simulation::SolveVisitorTask::run ( )
finalvirtual