SIMLIB/C++
3.07
|
2D vector integrator More...
#include <simlib2D.h>
Classes | |
class | special_input |
Public Member Functions | |
Integrator2D (Input2D i, Value2D initial_value) | |
Integrator2D (Input2D i) | |
Integrator2D (Integrator2D &i, Value2D initial_value=Value2D(0, 0)) | |
Integrator2D () | |
Input2D | SetInput (Input2D i) |
Integrator2D & | operator= (const Value2D &a) |
Integrator2D & | operator= (Input2D i) |
virtual Value2D | Value () override |
![]() | |
aContiBlock2D () | |
~aContiBlock2D () | |
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 |
simlib3::Integrator2D::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... | |
2D vector integrator
Definition at line 179 of file simlib2D.h.
Definition at line 165 of file simlib2D.cc.
simlib3::Integrator2D::Integrator2D | ( | Input2D | i | ) |
Definition at line 170 of file simlib2D.cc.
simlib3::Integrator2D::Integrator2D | ( | Integrator2D & | i, |
Value2D | initial_value = Value2D(0,0) |
||
) |
Definition at line 175 of file simlib2D.cc.
References simlib3::Zero2D.
simlib3::Integrator2D::Integrator2D | ( | ) |
Definition at line 185 of file simlib2D.cc.
Integrator2D & simlib3::Integrator2D::operator= | ( | const Value2D & | a | ) |
Definition at line 193 of file simlib2D.cc.
References _x, _y, simlib3::Value2D::x(), and simlib3::Value2D::y().
Integrator2D & simlib3::Integrator2D::operator= | ( | Input2D | i | ) |
Definition at line 200 of file simlib2D.cc.
References _x, _y, simlib3::Input2D::Value(), simlib3::Value2D::x(), and simlib3::Value2D::y().
Definition at line 199 of file simlib2D.h.
References simlib3::Abs(), simlib3::Value2D::operator*, simlib3::Value2D::operator+(), simlib3::Value2D::operator-(), simlib3::Value2D::operator/, simlib3::ScalarProduct(), simlib3::Input2D::Set(), simlib3::UnitVector(), simlib3::Value2D::x(), simlib3::Xpart(), simlib3::Value2D::y(), and simlib3::Ypart().
|
overridevirtual |
Implements simlib3::aContiBlock2D.
Definition at line 212 of file simlib2D.cc.
References _x, _y, and simlib3::Integrator::Value().
|
private |
Definition at line 180 of file simlib2D.h.
Referenced by operator=(), and Value().
|
private |
Definition at line 180 of file simlib2D.h.
Referenced by operator=(), and Value().
|
private |