/[escript]/trunk/escript/src/Data.h
ViewVC logotype

Diff of /trunk/escript/src/Data.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 571 by jgs, Tue Feb 28 06:53:17 2006 UTC revision 698 by gross, Fri Mar 31 04:52:55 2006 UTC
# Line 1  Line 1 
1  // $Id$  // $Id$
2  /*  /*
3   ******************************************************************************   ************************************************************
4   *                                                                            *   *          Copyright 2006 by ACcESS MNRF                   *
5   *       COPYRIGHT ACcESS 2004 -  All Rights Reserved                         *   *                                                          *
6   *                                                                            *   *              http://www.access.edu.au                    *
7   * This software is the property of ACcESS.  No part of this code             *   *       Primary Business: Queensland, Australia            *
8   * may be copied in any form or by any means without the expressed written    *   *  Licensed under the Open Software License version 3.0    *
9   * consent of ACcESS.  Copying, use or modification of this software          *   *     http://www.opensource.org/licenses/osl-3.0.php       *
10   * by any unauthorised person is illegal unless that                          *   *                                                          *
11   * person has a software license agreement with ACcESS.                       *   ************************************************************
  *                                                                            *  
  ******************************************************************************  
12  */  */
13    
14  /** \file Data.h */  /** \file Data.h */
# Line 593  class Data { Line 591  class Data {
591       *       *
592    */    */
593    Data    Data
594    wherePositive(double tol=0.0) const;    wherePositive() const;
595    
596    /**    /**
597       \brief       \brief
# Line 601  class Data { Line 599  class Data {
599       *       *
600    */    */
601    Data    Data
602    whereNegative(double tol=0.0) const;    whereNegative() const;
603    
604    /**    /**
605       \brief       \brief
# Line 609  class Data { Line 607  class Data {
607       *       *
608    */    */
609    Data    Data
610    whereNonNegative(double tol=0.0) const;    whereNonNegative() const;
611    
612    /**    /**
613       \brief       \brief
# Line 617  class Data { Line 615  class Data {
615       *       *
616    */    */
617    Data    Data
618    whereNonPositive(double tol=0.0) const;    whereNonPositive() const;
619    
620    /**    /**
621       \brief       \brief
# Line 714  class Data { Line 712  class Data {
712    
713    /**    /**
714       \brief       \brief
715         Return the eigenvalues of the symmetric part at each data point of this Data object in increasing values.
716         Currently this function is restricted to rank 2, square shape, and dimension 3.
717         *
718      */
719      Data
720      eigenvalues() const;
721    
722      /**
723         \brief
724         Return the eigenvalues and corresponding eigenvcetors of the symmetric part at each data point of this Data object.
725         the eigenvalues are ordered in increasing size where eigenvalues with relative difference less than
726         tol are treated as equal. The eigenvectors are orthogonal, normalized and the sclaed such that the
727         first non-zero entry is positive.
728         Currently this function is restricted to rank 2, square shape, and dimension 3
729         *
730      */
731      const boost::python::tuple
732      eigenvalues_and_eigenvectors(const double tol=1.e-12) const;
733    
734      /**
735         \brief
736       Transpose each data point of this Data object around the given axis.       Transpose each data point of this Data object around the given axis.
737       --* not implemented yet *--       --* not implemented yet *--
738       *       *
# Line 724  class Data { Line 743  class Data {
743    /**    /**
744       \brief       \brief
745       Calculate the trace of each data point of this Data object.       Calculate the trace of each data point of this Data object.
      sum(A[i,i,i,i])  
746       *       *
747    */    */
748    Data    Data

Legend:
Removed from v.571  
changed lines
  Added in v.698

  ViewVC Help
Powered by ViewVC 1.1.26