v0.13.0
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 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.

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  }
VectorDouble rhoAtIntegrationPts
Storing density at integration points.
Definition: integration.cpp:70

Member Data Documentation

◆ approxVals

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

Definition at line 90 of file approximaton.cpp.

◆ L2Vec

SmartPetscObj<Vec> Example::CommonData::L2Vec

Definition at line 91 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 92 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: