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

[Example] More...

Inheritance diagram for Example::CommonData:
[legend]
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< VectorDouble > getRhoAtIntegrationPtsPtr ()
 

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 53 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 68 of file integration.cpp.

68  {
69  ZERO = 0,
70  FIRST_X,
71  FIRST_Y,
72  FIRST_Z,
73  SECOND_XX,
74  SECOND_XY,
75  SECOND_XZ,
76  SECOND_YY,
77  SECOND_YZ,
78  SECOND_ZZ,
80  };

Member Function Documentation

◆ getRhoAtIntegrationPtsPtr()

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

Definition at line 58 of file integration.cpp.

58  {
59  return boost::shared_ptr<VectorDouble>(shared_from_this(),
61  }

Member Data Documentation

◆ approxVals

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

Definition at line 74 of file approximaton.cpp.

◆ L2Vec

SmartPetscObj<Vec> Example::CommonData::L2Vec

Definition at line 75 of file approximaton.cpp.

◆ petscVec

SmartPetscObj<Vec> Example::CommonData::petscVec

Smart pointer which stores PETSc distributed vector.

Definition at line 83 of file integration.cpp.

◆ resVec

SmartPetscObj<Vec> Example::CommonData::resVec

Definition at line 76 of file approximaton.cpp.

◆ rhoAtIntegrationPts

VectorDouble Example::CommonData::rhoAtIntegrationPts

Storing density at integration points.

Definition at line 56 of file integration.cpp.


The documentation for this struct was generated from the following files:
Example::CommonData::SECOND_XX
@ SECOND_XX
Definition: integration.cpp:73
Example::CommonData::SECOND_YZ
@ SECOND_YZ
Definition: integration.cpp:77
Example::CommonData::rhoAtIntegrationPts
VectorDouble rhoAtIntegrationPts
Storing density at integration points.
Definition: integration.cpp:56
Example::CommonData::ZERO
@ ZERO
Definition: integration.cpp:69
Example::CommonData::FIRST_X
@ FIRST_X
Definition: integration.cpp:70
Example::CommonData::FIRST_Y
@ FIRST_Y
Definition: integration.cpp:71
Example::CommonData::FIRST_Z
@ FIRST_Z
Definition: integration.cpp:72
Example::CommonData::LAST_ELEMENT
@ LAST_ELEMENT
Definition: integration.cpp:79
Example::CommonData::SECOND_YY
@ SECOND_YY
Definition: integration.cpp:76
Example::CommonData::SECOND_XY
@ SECOND_XY
Definition: integration.cpp:74
Example::CommonData::SECOND_ZZ
@ SECOND_ZZ
Definition: integration.cpp:78
Example::CommonData::SECOND_XZ
@ SECOND_XZ
Definition: integration.cpp:75