SIMLIB/C++
3.07
|
3D vector integrator More...
#include <simlib3D.h>
Classes | |
class | special_input |
Public Member Functions | |
Integrator3D (Input3D i, const Value3D &initial_value) | |
Integrator3D (Input3D i) | |
Integrator3D (Integrator3D &i, const Value3D &initial_value=Value3D(0, 0, 0)) | |
Integrator3D () | |
Input3D | SetInput (Input3D i) |
void | Init (const Value3D &v) |
Integrator3D & | operator= (const Value3D &a) |
Integrator3D & | operator= (Input3D i) |
virtual Value3D | Value () override |
![]() | |
aContiBlock3D () | |
~aContiBlock3D () | |
virtual void | _Eval () |
void | Print () |
![]() | |
bool | TestAndSetFlag (bool new_value, unsigned n) |
internal method for flag manipulation is used for algebraic loop checking in continuous blocks More... | |
SimObject () | |
constructor More... | |
virtual | ~SimObject () |
virtual destructor More... | |
void * | operator new (size_t size) |
allocate object, set _flags More... | |
void | operator delete (void *ptr) |
deallocate object More... | |
void * | operator new[] (size_t size)=delete |
void | operator delete[] (void *ptr)=delete |
bool | isAllocated () const |
virtual std::string | Name () const |
get object name More... | |
bool | HasName () const |
void | SetName (const std::string &name) |
assign the name More... | |
virtual void | Output () const |
print object to default output More... | |
Private Attributes | |
Integrator | _x |
Integrator | _y |
Integrator | _z |
simlib3::Integrator3D::special_input | in |
Additional Inherited Members | |
![]() | |
enum | _Flags { _CLEAR_ALL_FLAGS = 0, _ALLOCATED_FLAG = 1<<0, _EVAL_FLAG = 1<<1, _HAS_NAME_FLAG = 1<<2 } |
![]() | |
bool | isEvaluated |
![]() | |
unsigned | _flags |
bool flags for internal use (TODO bitfield?) More... | |
3D vector integrator
Definition at line 180 of file simlib3D.h.
Definition at line 164 of file simlib3D.cc.
simlib3::Integrator3D::Integrator3D | ( | Input3D | i | ) |
Definition at line 170 of file simlib3D.cc.
simlib3::Integrator3D::Integrator3D | ( | Integrator3D & | i, |
const Value3D & | initial_value = Value3D(0,0,0) |
||
) |
Definition at line 175 of file simlib3D.cc.
References simlib3::Zero3D.
simlib3::Integrator3D::Integrator3D | ( | ) |
Definition at line 186 of file simlib3D.cc.
|
inline |
Definition at line 203 of file simlib3D.h.
References simlib3::Abs(), simlib3::Integrator::Init(), simlib3::Value3D::operator*, simlib3::Value3D::operator+(), simlib3::Value3D::operator-(), simlib3::Value3D::operator/, simlib3::ScalarProduct(), simlib3::UnitVector(), simlib3::Value3D::x(), simlib3::Xpart(), simlib3::Value3D::y(), simlib3::Ypart(), simlib3::Value3D::z(), and simlib3::Zpart().
Integrator3D & simlib3::Integrator3D::operator= | ( | const Value3D & | a | ) |
Definition at line 201 of file simlib3D.cc.
References _x, _y, _z, simlib3::Value3D::x(), simlib3::Value3D::y(), and simlib3::Value3D::z().
Integrator3D & simlib3::Integrator3D::operator= | ( | Input3D | i | ) |
Definition at line 209 of file simlib3D.cc.
References _x, _y, _z, simlib3::Input3D::Value(), simlib3::Value3D::x(), simlib3::Value3D::y(), and simlib3::Value3D::z().
Definition at line 200 of file simlib3D.h.
References simlib3::Input3D::Set().
|
overridevirtual |
Implements simlib3::aContiBlock3D.
Definition at line 193 of file simlib3D.cc.
References _x, _y, _z, and simlib3::Integrator::Value().
|
private |
Definition at line 181 of file simlib3D.h.
Referenced by operator=(), and Value().
|
private |
Definition at line 181 of file simlib3D.h.
Referenced by operator=(), and Value().
|
private |
Definition at line 181 of file simlib3D.h.
Referenced by operator=(), and Value().
|
private |