v0.10.0
Public Types | Public Member Functions | Public Attributes | List of all members
Example::CommonData Struct Reference

[Example] More...

Inherits enable_shared_from_this< Example::CommonData >.

Collaboration diagram for Example::CommonData:
[legend]

Public Types

enum  VecElements {
  ZERO = 0, FIRST_X, FIRST_Y, FIRST_Z,
  SECOND_XX, SECOND_XY, SECOND_XZ, SECOND_YY,
  SECOND_YZ, SECOND_ZZ, LAST_ELEMENT
}
 Vector to indicate indices for storing zero, first and second moments of inertia. More...
 

Public Member Functions

boost::shared_ptr< VectorDoublegetRhoAtIntegrationPtsPtr ()
 

Public Attributes

VectorDouble rhoAtIntegrationPts
 Storing density at integration points. More...
 
SmartPetscObj< Vec > petscVec
 Smart pointer which stores PETSc distributed vector. More...
 
boost::shared_ptr< VectorDouble > approxVals
 
SmartPetscObj< Vec > L2Vec
 
SmartPetscObj< Vec > resVec
 

Detailed Description

[Example]

[Common data]

Definition at line 67 of file integration.cpp.

Member Enumeration Documentation

◆ VecElements

Vector to indicate indices for storing zero, first and second moments of inertia.

Enumerator
ZERO 
FIRST_X 
FIRST_Y 
FIRST_Z 
SECOND_XX 
SECOND_XY 
SECOND_XZ 
SECOND_YY 
SECOND_YZ 
SECOND_ZZ 
LAST_ELEMENT 

Definition at line 82 of file integration.cpp.

82  {
83  ZERO = 0,
84  FIRST_X,
85  FIRST_Y,
86  FIRST_Z,
87  SECOND_XX,
88  SECOND_XY,
89  SECOND_XZ,
90  SECOND_YY,
91  SECOND_YZ,
92  SECOND_ZZ,
94  };

Member Function Documentation

◆ getRhoAtIntegrationPtsPtr()

boost::shared_ptr<VectorDouble> Example::CommonData::getRhoAtIntegrationPtsPtr ( )

Definition at line 72 of file integration.cpp.

72  {
73  return boost::shared_ptr<VectorDouble>(shared_from_this(),
75  }

Member Data Documentation

◆ approxVals

boost::shared_ptr<VectorDouble> Example::CommonData::approxVals

Definition at line 67 of file approximaton.cpp.

◆ L2Vec

SmartPetscObj<Vec> Example::CommonData::L2Vec

Definition at line 68 of file approximaton.cpp.

◆ petscVec

SmartPetscObj<Vec> Example::CommonData::petscVec

Smart pointer which stores PETSc distributed vector.

Definition at line 97 of file integration.cpp.

◆ resVec

SmartPetscObj<Vec> Example::CommonData::resVec

Definition at line 69 of file approximaton.cpp.

◆ rhoAtIntegrationPts

VectorDouble Example::CommonData::rhoAtIntegrationPts

Storing density at integration points.

Definition at line 70 of file integration.cpp.


The documentation for this struct was generated from the following files:
Example::CommonData::ZERO
@ ZERO
Definition: integration.cpp:83
Example::CommonData::SECOND_XY
@ SECOND_XY
Definition: integration.cpp:88
Example::CommonData::FIRST_Z
@ FIRST_Z
Definition: integration.cpp:86
Example::CommonData::SECOND_YY
@ SECOND_YY
Definition: integration.cpp:90
Example::CommonData::FIRST_X
@ FIRST_X
Definition: integration.cpp:84
Example::CommonData::rhoAtIntegrationPts
VectorDouble rhoAtIntegrationPts
Storing density at integration points.
Definition: integration.cpp:70
Example::CommonData::LAST_ELEMENT
@ LAST_ELEMENT
Definition: integration.cpp:93
Example::CommonData::SECOND_XX
@ SECOND_XX
Definition: integration.cpp:87
Example::CommonData::SECOND_XZ
@ SECOND_XZ
Definition: integration.cpp:89
Example::CommonData::SECOND_ZZ
@ SECOND_ZZ
Definition: integration.cpp:92
Example::CommonData::SECOND_YZ
@ SECOND_YZ
Definition: integration.cpp:91
Example::CommonData::FIRST_Y
@ FIRST_Y
Definition: integration.cpp:85