Chi-Tech
|
#include <ChiObject.h>
Public Member Functions | |
ChiObject () | |
ChiObject (const chi::InputParameters ¶ms) | |
void | SetStackID (size_t stack_id) |
size_t | StackID () const |
virtual void | PushOntoStack (std::shared_ptr< ChiObject > &new_object) |
virtual | ~ChiObject ()=default |
Static Public Member Functions | |
static chi::InputParameters | GetInputParameters () |
Private Attributes | |
size_t | stack_id_ = Chi::SIZE_T_INVALID |
Definition at line 7 of file ChiObject.h.
ChiObject::ChiObject | ( | ) |
Default constructor. This will be removed in future.
Definition at line 9 of file ChiObject.cc.
|
explicit |
Constructor with input parameters.
Definition at line 11 of file ChiObject.cc.
|
virtualdefault |
|
static |
Returns the input parameters. For the base ChiObject, there are now parameters loaded.
Returns the input parameters.
Definition at line 4 of file ChiObject.cc.
|
virtual |
An overridable callback that is called by the ObjectMaker and by default adds the object onto the object stack. This function can be used to place the object on a different stack.
Reimplemented in chi_physics::FieldFunction, and chi::PostProcessor.
Definition at line 17 of file ChiObject.cc.
void ChiObject::SetStackID | ( | size_t | stack_id | ) |
Sets the stack id of the object. This allows this object to know its place in the global space.
Definition at line 13 of file ChiObject.cc.
size_t ChiObject::StackID | ( | ) | const |
Returns the stack id of this object. This can be used with input language to connect objects together.
Definition at line 15 of file ChiObject.cc.
|
private |
Definition at line 10 of file ChiObject.h.