MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
BilinearShape2D Class Reference

#include <shape_impl.h>

Inheritance diagram for BilinearShape2D:
Collaboration diagram for BilinearShape2D:

Public Member Functions

 BilinearShape2D (doublereal d0, doublereal d1x, doublereal d1y, doublereal d1xy)
 
 ~BilinearShape2D (void)
 
doublereal dGet (doublereal dx, doublereal dy) const
 
std::ostream & Restart (std::ostream &out) const
 
- Public Member Functions inherited from Shape2D
virtual ~Shape2D (void)
 
- Public Member Functions inherited from Shape
virtual ~Shape (void)
 

Protected Attributes

doublereal da0
 
doublereal da1x
 
doublereal da1y
 
doublereal da1xy
 

Detailed Description

Definition at line 127 of file shape_impl.h.

Constructor & Destructor Documentation

BilinearShape2D::BilinearShape2D ( doublereal  d0,
doublereal  d1x,
doublereal  d1y,
doublereal  d1xy 
)

Definition at line 269 of file shape.cc.

References NO_OP.

271 : da0(d0), da1x(d1x), da1y(d1y), da1xy(d1xy)
272 {
273  NO_OP;
274 }
#define NO_OP
Definition: myassert.h:74
doublereal da0
Definition: shape_impl.h:129
doublereal da1x
Definition: shape_impl.h:130
doublereal da1y
Definition: shape_impl.h:131
doublereal da1xy
Definition: shape_impl.h:132
BilinearShape2D::~BilinearShape2D ( void  )

Definition at line 276 of file shape.cc.

References NO_OP.

277 {
278  NO_OP;
279 }
#define NO_OP
Definition: myassert.h:74

Member Function Documentation

doublereal BilinearShape2D::dGet ( doublereal  dx,
doublereal  dy 
) const
virtual

Implements Shape.

Definition at line 282 of file shape.cc.

References da0, da1x, da1xy, and da1y.

283 {
284  return da0 + da1x*dx + da1y*dy + da1xy*dx*dy;
285 }
doublereal da0
Definition: shape_impl.h:129
doublereal da1x
Definition: shape_impl.h:130
doublereal da1y
Definition: shape_impl.h:131
doublereal da1xy
Definition: shape_impl.h:132
std::ostream & BilinearShape2D::Restart ( std::ostream &  out) const
virtual

Implements Shape.

Definition at line 288 of file shape.cc.

References da0, da1x, da1xy, and da1y.

289 {
290  return out << "bilinear, " << da0 << ", "
291  << da1x << ", " << da1y << ", " << da1xy;
292 }
doublereal da0
Definition: shape_impl.h:129
doublereal da1x
Definition: shape_impl.h:130
doublereal da1y
Definition: shape_impl.h:131
doublereal da1xy
Definition: shape_impl.h:132

Member Data Documentation

doublereal BilinearShape2D::da0
protected

Definition at line 129 of file shape_impl.h.

Referenced by dGet(), and Restart().

doublereal BilinearShape2D::da1x
protected

Definition at line 130 of file shape_impl.h.

Referenced by dGet(), and Restart().

doublereal BilinearShape2D::da1xy
protected

Definition at line 132 of file shape_impl.h.

Referenced by dGet(), and Restart().

doublereal BilinearShape2D::da1y
protected

Definition at line 131 of file shape_impl.h.

Referenced by dGet(), and Restart().


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