Chi-Tech
|
#include <fieldfunction.h>
Public Member Functions | |
FieldFunction (const chi::InputParameters ¶ms) | |
FieldFunction (const std::string &text_name, chi_math::Unknown unknown) | |
virtual | ~FieldFunction ()=default |
const std::string & | TextName () const |
const chi_math::Unknown & | Unknown () const |
const chi_math::UnknownManager & | GetUnknownManager () const |
void | PushOntoStack (std::shared_ptr< ChiObject > &new_object) override |
Overrides the stack placement so that FieldFunctions go to the field function stack. More... | |
virtual double | Evaluate (const chi_mesh::Cell &cell, const chi_mesh::Vector3 &position, unsigned int component) const |
Public Member Functions inherited from ChiObject | |
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 () |
Static Public Member Functions inherited from ChiObject | |
static chi::InputParameters | GetInputParameters () |
Private Attributes | |
std::string | text_name_ |
chi_math::Unknown | unknown_ |
chi_math::UnknownManager | unknown_manager_ |
Definition at line 16 of file fieldfunction.h.
|
explicit |
ObjectMaker based constructor.
Definition at line 42 of file fieldfunction.cc.
chi_physics::FieldFunction::FieldFunction | ( | const std::string & | text_name, |
chi_math::Unknown | unknown | ||
) |
Conventional constructor.
Definition at line 62 of file fieldfunction.cc.
|
virtualdefault |
|
inlinevirtual |
Reimplemented in chi_physics::FieldFunctionGridBased.
Definition at line 51 of file fieldfunction.h.
|
static |
Returns required input parameters.
Definition at line 10 of file fieldfunction.cc.
|
inline |
Returns a reference to the unknown manager that can be used in spatial discretizations.
Definition at line 42 of file fieldfunction.h.
|
overridevirtual |
Overrides the stack placement so that FieldFunctions go to the field function stack.
Stack change to `chi::field_function_stack.
Reimplemented from ChiObject.
Definition at line 72 of file fieldfunction.cc.
|
inline |
Returns the text name of the field function.
Definition at line 37 of file fieldfunction.h.
|
inline |
Returns a reference to the unknown structure.
Definition at line 39 of file fieldfunction.h.
|
private |
Definition at line 19 of file fieldfunction.h.
|
private |
Definition at line 20 of file fieldfunction.h.
|
private |
Definition at line 21 of file fieldfunction.h.