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

[Example] More...

Inherits boost::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< 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.

Member Function Documentation

◆ getRhoAtIntegrationPtsPtr()

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

Definition at line 58 of file integration.cpp.

58 {
59 return boost::shared_ptr<VectorDouble>(shared_from_this(),
61 }
VectorDouble rhoAtIntegrationPts
Storing density at integration points.
Definition: integration.cpp:56

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: