ConformTransformationQ1Quadrangle Class Reference

#include <ConformTransformation.hpp>

Collaboration diagram for ConformTransformationQ1Quadrangle:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void value (const TinyVector< 3, real_t > &X, TinyVector< 3, real_t > &result) const
 computes the value at X (X is inside the reference element).
void value (const real_t &x, const real_t &y, const real_t &z, TinyVector< 3, real_t > &result) const
 computes the value at (x,y,z) ((x,y,z) is inside the reference element).
bool invertT (const TinyVector< 3, real_t > &X, TinyVector< 3, real_t > &Xhat) const
 Computes Xhat, the point which transformed is X.
bool invertT (const real_t &x, const real_t &y, const real_t &z, TinyVector< 3, real_t > &Xhat) const
 Computes Xhat, the point which transformed is (x,y,z).
real_t integrate (const ScalarFunctionBase &f) const
 ConformTransformationQ1Quadrangle (const Quadrangle &Q)

Private Attributes

const Quadrangle__Q
const TinyVector< 3, real_t > __a
const TinyVector< 3, real_t > __b_a
const TinyVector< 3, real_t > __d_a
const TinyVector< 3, real_t > __ca_b_d

Friends

class ConformTransformationQ1QuadrangleJacobian


Detailed Description

Definition at line 247 of file ConformTransformation.hpp.


Constructor & Destructor Documentation

ConformTransformationQ1Quadrangle::ConformTransformationQ1Quadrangle ( const Quadrangle Q  )  [inline]

Definition at line 302 of file ConformTransformation.hpp.

00303     : __Q(Q),
00304       __a(Q(0)),
00305       __b_a(Q(1)-Q(0)),
00306       __d_a(Q(3)-Q(0)),
00307       __ca_b_d(Q(2)-__b_a-Q(3))
00308   {
00309     ;
00310   }


Member Function Documentation

void ConformTransformationQ1Quadrangle::value ( const TinyVector< 3, real_t > &  X,
TinyVector< 3, real_t > &  result 
) const [inline]

computes the value at X (X is inside the reference element).

Definition at line 262 of file ConformTransformation.hpp.

00264   {
00265     value(X[0],X[1],X[2],result);
00266   }

void ConformTransformationQ1Quadrangle::value ( const real_t &  x,
const real_t &  y,
const real_t &  z,
TinyVector< 3, real_t > &  result 
) const [inline]

computes the value at (x,y,z) ((x,y,z) is inside the reference element).

Definition at line 269 of file ConformTransformation.hpp.

References __a, __b_a, __ca_b_d, and __d_a.

00271   {
00272     result  = __a;
00273     result += __b_a*x;
00274     result += __d_a*y;
00275     result += __ca_b_d*x*y;
00276   }

bool ConformTransformationQ1Quadrangle::invertT ( const TinyVector< 3, real_t > &  X,
TinyVector< 3, real_t > &  Xhat 
) const [inline]

Computes Xhat, the point which transformed is X.

Definition at line 279 of file ConformTransformation.hpp.

00281   {
00282     return invertT(X[0],X[1],X[2], Xhat);
00283   }

bool ConformTransformationQ1Quadrangle::invertT ( const real_t &  x,
const real_t &  y,
const real_t &  z,
TinyVector< 3, real_t > &  Xhat 
) const [inline]

Computes Xhat, the point which transformed is (x,y,z).

Definition at line 286 of file ConformTransformation.hpp.

References ErrorHandler::unexpected.

00288   {
00289     // Use least square to solve the linear system
00290     throw ErrorHandler(__FILE__,__LINE__,
00291                        "not implemented",
00292                        ErrorHandler::unexpected);
00293 
00294     return false;
00295   }

real_t ConformTransformationQ1Quadrangle::integrate ( const ScalarFunctionBase f  )  const

Computes the integrale of the function f on an element using the reference element

Definition at line 185 of file ConformTransformation.cpp.

References ErrorHandler::unexpected.

00186 {
00187   throw ErrorHandler(__FILE__,__LINE__,
00188                      "not implemented",
00189                      ErrorHandler::unexpected);
00190   return 0.;
00191 }


Friends And Related Function Documentation

Definition at line 250 of file ConformTransformation.hpp.


Member Data Documentation

Definition at line 255 of file ConformTransformation.hpp.

Referenced by value().

Definition at line 256 of file ConformTransformation.hpp.

Referenced by value().

Definition at line 257 of file ConformTransformation.hpp.

Referenced by value().

Definition at line 258 of file ConformTransformation.hpp.

Referenced by value().


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

Generated on Wed Nov 19 00:05:06 2008 for FreeFEM3D (aka ff3d) by  doxygen 1.5.6