#include <Action.h>
Public Member Functions | |
Action (void *p=0, char *name=NULL) | |
Action (int n, const char *at[], int *i=NULL, void *p=0, char *name=NULL) | |
Action (int n, const std::string at[], int *i=NULL, void *p=0, char *name=NULL) | |
virtual | ~Action () |
virtual void | declare (Scheduler &) |
virtual void | init (double t) |
virtual void | run (double t, double dt, double alpha) |
virtual void | finalize () |
virtual char * | name () |
void | set_name (const char *name) |
virtual void | print (FILE *f) |
virtual void | print_toposort (FILE *f) |
virtual void | schedule () |
Protected Types | |
enum | { IN =1, OUT =2, INOUT =3 } |
Protected Member Functions | |
int | get_attribute_handle (int i) |
int | get_attribute_handle_const (int i) |
int | get_attribute_handle (const std::string str) |
void | set_attr (int n, const std::string at[], int *id=NULL) |
void | set_attr (int n, const char *at[], int *id=NULL) |
void | set_io (int n, const int *io) |
void | set_io (const char *io) |
int | get_io (int i) |
Protected Attributes | |
char * | action_name |
char ** | attr |
int * | idx |
int | count |
void * | usr_ptr |
std::vector< int > | inout |
|
protected |
Enumerator | |
---|---|
IN | |
OUT | |
INOUT |
Action | ( | int | n, |
const char * | at[], | ||
int * | i = NULL , |
||
void * | p = 0 , |
||
char * | name = NULL |
||
) |
Definition at line 37 of file Action.C.
References action_name, and set_attr().
Action | ( | int | n, |
const std::string | at[], | ||
int * | i = NULL , |
||
void * | p = 0 , |
||
char * | name = NULL |
||
) |
Definition at line 43 of file Action.C.
References action_name, and set_attr().
|
virtual |
Reimplemented in PhysicsAction, SchedulerAction, ActionG, ActionF, ActionE, ActionD, ActionC, ActionB, and ActionA.
Definition at line 77 of file Action.C.
References attr, count, i, idx, IN, inout, OUT, Scheduler::reads(), and Scheduler::writes().
Referenced by Scheduler::add_action().
|
inlinevirtual |
Reimplemented in UserSchedulerAction, and SchedulerAction.
Definition at line 52 of file Action.h.
Referenced by Scheduler::finalize_actions().
|
protected |
Definition at line 93 of file Action.C.
References attr, COM_assertion_msg, and COM_get_attribute_handle().
Referenced by InterpolateBase::init(), SetValueDouble::init(), LoadTransfer_FS::init(), CopyValue::init(), LoadTransfer_FSc_ALE::init(), LoadTransferOnly_FSc_ALE::init(), GetDeformedMesh::init(), GetDeformedMesh_ALE::init(), MeshMotionTransfer_SF::init(), ComputeFluidLoad_ALE::init(), DeformationVelTransfer_SF::init(), ComputeMeshMotion::init(), MeshMotionTransferISS::init(), TransferSolidDensity::init(), FluidPropagateSurface::init(), TransferBurnRate_FS_ALE::init(), MassTransfer_SF_ALE::init(), MassTransfer::init(), TemperatureTransfer_SF::init(), ZoomInterface::init(), HeatTransfer_FS::init(), ComputeBurnPane::init(), RemeshInit::init(), ComputePconn::init(), SolidPropagateSurface_ALE::init(), and ComputeFaceCenters::run().
|
protected |
Definition at line 102 of file Action.C.
References COM_assertion_msg, and COM_get_attribute_handle().
|
protected |
Definition at line 110 of file Action.C.
References attr, COM_assertion_msg, and COM_get_attribute_handle_const().
Referenced by InterpolateBase::init(), LoadTransfer_FSc_ALE::init(), LoadTransferOnly_FSc_ALE::init(), and ComputeFluidLoad_ALE::init().
|
inlineprotected |
Definition at line 74 of file Action.h.
Referenced by InterpolateBase::init().
|
inlinevirtual |
Reimplemented in Reset_du_alp, SolidPropagateSurface_ALE, ComputePconn, CopyBflagFromBurn, CopyBurnFromParentMesh, RemeshInit, ComputeBurnPane, ComputeRhofvf, HeatTransfer_FS, ZoomInterface, TemperatureTransfer_SF, MassTransfer, MassTransfer_SF_ALE, TransferBurnRate_FS_ALE, FluidPropagateSurface, TransferSolidDensity, ComputeFaceCenters, ComputeMeshMotion, MeshMotionTransferISS, DeformationVelTransfer_SF, ComputeFluidLoad_ALE, MeshMotionTransfer_SF, SurfDiver, GetDeformedMesh_ALE, UserSchedulerAction, BCInitInvoker, GetDeformedMesh, GMInvoker, SchedulerAction, LoadTransferOnly_FSc_ALE, BCInvoker, DummyPrint, LoadTransfer_FSc_ALE, Extrapolate_Central, CopyValue, Extrapolate_Linear, LoadTransfer_FS, SetValueDouble, DummyAction, and InterpolateBase.
Definition at line 50 of file Action.h.
Referenced by Scheduler::init_actions().
|
inlinevirtual |
Reimplemented in PhysicsAction.
Definition at line 53 of file Action.h.
References action_name.
Referenced by InterpolateBase::init(), print(), SchedulerAction::print(), UserSchedulerAction::print(), print_toposort(), Scheduler::reads(), Scheduler::set_name(), and Scheduler::writes().
|
virtual |
Reimplemented in PhysicsAction.
Definition at line 87 of file Action.C.
References name().
Referenced by Scheduler::print_helper().
|
inlinevirtual |
Reimplemented in UserSchedulerAction, and SchedulerAction.
Definition at line 56 of file Action.h.
References name().
|
inlinevirtual |
Reimplemented in Reset_du_alp, SolidPropagateSurface_ALE, ComputePconn, CopyBflagFromBurn, CopyBurnFromParentMesh, RemeshInit, ComputeBurnPane, ComputeRhofvf, HeatTransfer_FS, ZoomInterface, TemperatureTransfer_SF, MassTransfer, MassTransfer_SF_ALE, TransferBurnRate_FS_ALE, FluidPropagateSurface, TransferSolidDensity, ComputeFaceCenters, ComputeMeshMotion, MeshMotionTransferISS, DeformationVelTransfer_SF, ComputeFluidLoad_ALE, SurfDiverAfterRemeshing, MeshMotionTransfer_SF, SurfDiver, GetDeformedMesh_ALE, PhysicsAction, UserSchedulerAction, BCInitInvoker, GetDeformedMesh, GMInvoker, SchedulerAction, LoadTransferOnly_FSc_ALE, BCInvoker, Interpolate_Central, Interpolate_Constant, DummyPrint, Interpolate_Linear, LoadTransfer_FSc_ALE, Extrapolate_Central, CopyValue, Extrapolate_Linear, LoadTransfer_FS, SetValueDouble, DummyAction, and InterpolateBase.
Definition at line 51 of file Action.h.
Referenced by amplitude_sub(), and Scheduler::run_actions().
|
inlinevirtual |
Reimplemented in UserSchedulerAction, and SchedulerAction.
|
protected |
Definition at line 66 of file Action.C.
References attr, count, i, idx, and n.
Referenced by Action(), BCInitInvoker::BCInitInvoker(), BCInvoker::BCInvoker(), ComputeBurnPane::ComputeBurnPane(), ComputeFaceCenters::ComputeFaceCenters(), ComputeFluidLoad_ALE::ComputeFluidLoad_ALE(), ComputeMeshMotion::ComputeMeshMotion(), ComputePconn::ComputePconn(), ComputeRhofvf::ComputeRhofvf(), CopyBflagFromBurn::CopyBflagFromBurn(), CopyBurnFromParentMesh::CopyBurnFromParentMesh(), CopyValue::CopyValue(), DeformationVelTransfer_SF::DeformationVelTransfer_SF(), DummyPrint::DummyPrint(), Extrapolate_Central::Extrapolate_Central(), Extrapolate_Linear::Extrapolate_Linear(), FluidPropagateSurface::FluidPropagateSurface(), GetDeformedMesh::GetDeformedMesh(), GetDeformedMesh_ALE::GetDeformedMesh_ALE(), GMInvoker::GMInvoker(), HeatTransfer_FS::HeatTransfer_FS(), Interpolate_Central::Interpolate_Central(), Interpolate_Constant::Interpolate_Constant(), Interpolate_Linear::Interpolate_Linear(), LoadTransfer_FS::LoadTransfer_FS(), LoadTransfer_FSc_ALE::LoadTransfer_FSc_ALE(), LoadTransferOnly_FSc_ALE::LoadTransferOnly_FSc_ALE(), MassTransfer::MassTransfer(), MassTransfer_SF_ALE::MassTransfer_SF_ALE(), MeshMotionTransfer_SF::MeshMotionTransfer_SF(), MeshMotionTransferISS::MeshMotionTransferISS(), RemeshInit::RemeshInit(), Reset_du_alp::Reset_du_alp(), SolidPropagateSurface_ALE::SolidPropagateSurface_ALE(), TemperatureTransfer_SF::TemperatureTransfer_SF(), TransferBurnRate_FS_ALE::TransferBurnRate_FS_ALE(), TransferSolidDensity::TransferSolidDensity(), and ZoomInterface::ZoomInterface().
|
protected |
|
inlineprotected |
Definition at line 70 of file Action.h.
References count, inout, and n.
Referenced by BCInitInvoker::BCInitInvoker(), BCInvoker::BCInvoker(), ComputeBurnPane::ComputeBurnPane(), ComputeFaceCenters::ComputeFaceCenters(), ComputeFluidLoad_ALE::ComputeFluidLoad_ALE(), ComputeMeshMotion::ComputeMeshMotion(), ComputePconn::ComputePconn(), ComputeRhofvf::ComputeRhofvf(), CopyBflagFromBurn::CopyBflagFromBurn(), CopyBurnFromParentMesh::CopyBurnFromParentMesh(), CopyValue::CopyValue(), DeformationVelTransfer_SF::DeformationVelTransfer_SF(), DummyPrint::DummyPrint(), Extrapolate_Central::Extrapolate_Central(), Extrapolate_Linear::Extrapolate_Linear(), FluidPropagateSurface::FluidPropagateSurface(), GetDeformedMesh::GetDeformedMesh(), GetDeformedMesh_ALE::GetDeformedMesh_ALE(), GMInvoker::GMInvoker(), HeatTransfer_FS::HeatTransfer_FS(), Interpolate_Central::Interpolate_Central(), Interpolate_Constant::Interpolate_Constant(), Interpolate_Linear::Interpolate_Linear(), LoadTransfer_FS::LoadTransfer_FS(), LoadTransfer_FSc_ALE::LoadTransfer_FSc_ALE(), LoadTransferOnly_FSc_ALE::LoadTransferOnly_FSc_ALE(), MassTransfer::MassTransfer(), MassTransfer_SF_ALE::MassTransfer_SF_ALE(), MeshMotionTransfer_SF::MeshMotionTransfer_SF(), MeshMotionTransferISS::MeshMotionTransferISS(), RemeshInit::RemeshInit(), Reset_du_alp::Reset_du_alp(), SetValueDouble::SetValueDouble(), SolidPropagateSurface_ALE::SolidPropagateSurface_ALE(), TemperatureTransfer_SF::TemperatureTransfer_SF(), TransferBurnRate_FS_ALE::TransferBurnRate_FS_ALE(), TransferSolidDensity::TransferSolidDensity(), and ZoomInterface::ZoomInterface().
|
protected |
|
inline |
Definition at line 54 of file Action.h.
References action_name.
Referenced by Agent::Agent().
|
protected |
Definition at line 36 of file Action.h.
Referenced by Action(), Extrapolate_Central::Extrapolate_Central(), Extrapolate_Linear::Extrapolate_Linear(), Interpolate_Central::Interpolate_Central(), Interpolate_Constant::Interpolate_Constant(), Interpolate_Linear::Interpolate_Linear(), name(), set_name(), and SetZero::SetZero().
|
protected |
Definition at line 37 of file Action.h.
Referenced by InterpolateBase::backup(), declare(), Extrapolate_Central::Extrapolate_Central(), Extrapolate_Linear::Extrapolate_Linear(), get_attribute_handle(), get_attribute_handle_const(), InterpolateBase::init(), Extrapolate_Linear::init(), Extrapolate_Central::init(), ComputeMeshMotion::init(), HeatTransfer_FS::init(), ComputeRhofvf::init(), Interpolate_Central::Interpolate_Central(), Interpolate_Constant::Interpolate_Constant(), Interpolate_Linear::Interpolate_Linear(), SetValueDouble::run(), Extrapolate_Linear::run(), CopyValue::run(), Extrapolate_Central::run(), Interpolate_Linear::run(), Interpolate_Central::run(), ComputeFaceCenters::run(), set_attr(), and ~Action().
|
protected |
|
protected |
Definition at line 38 of file Action.h.
Referenced by declare(), set_attr(), and ~Action().
|
protected |