SIMLIB/C++ 3.09
Loading...
Searching...
No Matches
simlib3::Integrator2D Class Reference

2D vector integrator More...

#include <simlib2D.h>

Inheritance diagram for simlib3::Integrator2D:
Collaboration diagram for simlib3::Integrator2D:

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
Public Member Functions inherited from simlib3::aContiBlock2D
 aContiBlock2D ()
 ~aContiBlock2D ()
virtual void _Eval ()
void Print ()
Public Member Functions inherited from simlib3::SimObject
bool TestAndSetFlag (bool new_value, unsigned n)
 internal method for flag manipulation is used for algebraic loop checking in continuous blocks
 SimObject ()
 constructor
virtual ~SimObject ()
 virtual destructor
void * operator new (size_t size)
 allocate object, set _flags
void operator delete (void *ptr)
 deallocate object
void * operator new[] (size_t size)=delete
void operator delete[] (void *ptr)=delete
bool isAllocated () const
virtual std::string Name () const
 get object name
bool HasName () const
void SetName (const std::string &name)
 assign the name
virtual void Output () const
 print object to default output

Private Attributes

Integrator _x
Integrator _y
simlib3::Integrator2D::special_input in

Additional Inherited Members

Public Types inherited from simlib3::SimObject
enum  _Flags { _CLEAR_ALL_FLAGS = 0 , _ALLOCATED_FLAG = 1<<0 , _EVAL_FLAG = 1<<1 , _HAS_NAME_FLAG = 1<<2 }
Protected Attributes inherited from simlib3::aContiBlock2D
bool isEvaluated
Protected Attributes inherited from simlib3::SimObject
unsigned _flags
 bool flags for internal use (TODO bitfield?)

Detailed Description

2D vector integrator

Definition at line 179 of file simlib2D.h.

Constructor & Destructor Documentation

◆ Integrator2D() [1/4]

simlib3::Integrator2D::Integrator2D ( Input2D i,
Value2D initial_value )

Definition at line 165 of file simlib2D.cc.

References _x, _y, and in.

Referenced by Integrator2D(), operator=(), and operator=().

◆ Integrator2D() [2/4]

simlib3::Integrator2D::Integrator2D ( Input2D i)

Definition at line 170 of file simlib2D.cc.

References _x, _y, and in.

◆ Integrator2D() [3/4]

simlib3::Integrator2D::Integrator2D ( Integrator2D & i,
Value2D initial_value = Value2D(0,0) )

Definition at line 175 of file simlib2D.cc.

References _x, _y, simlib3::aContiBlock2D::aContiBlock2D(), in, and Integrator2D().

◆ Integrator2D() [4/4]

simlib3::Integrator2D::Integrator2D ( )

Definition at line 185 of file simlib2D.cc.

References _x, _y, in, and simlib3::Zero2D.

Member Function Documentation

◆ operator=() [1/2]

Integrator2D & simlib3::Integrator2D::operator= ( const Value2D & a)

Definition at line 193 of file simlib2D.cc.

References _x, _y, Integrator2D(), simlib3::Value2D::x(), and simlib3::Value2D::y().

◆ operator=() [2/2]

Integrator2D & simlib3::Integrator2D::operator= ( Input2D i)

◆ SetInput()

Input2D simlib3::Integrator2D::SetInput ( Input2D i)
inline

Definition at line 199 of file simlib2D.h.

References in, simlib3::Integrator2D::special_input::in, and simlib3::Input2D::Set().

◆ Value()

Value2D simlib3::Integrator2D::Value ( )
overridevirtual

Implements simlib3::aContiBlock2D.

Definition at line 212 of file simlib2D.cc.

References _x, _y, simlib3::Integrator::Value(), and simlib3::Value2D::Value2D().

Member Data Documentation

◆ _x

Integrator simlib3::Integrator2D::_x
private

◆ _y

Integrator simlib3::Integrator2D::_y
private

◆ in


The documentation for this class was generated from the following files: