BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
belfem::fem::Gradient Class Reference

Gradient recovery on a solved mesh. More...

#include <cl_Gradient.hpp>

Inheritance diagram for belfem::fem::Gradient:
[legend]
Collaboration diagram for belfem::fem::Gradient:
[legend]

Public Member Functions

 Gradient (Kernel *aKernel, const Vector< id_t > &aBlocksIDs, const bool aFlipSign=false, const uint aDofManagerIndex=0)
 ~Gradient () override=default
void set_fields (const string &aScalarField, const string &aGradientField)
virtual void process_node (mesh::Node *aNode)
void set_order (const uint aOrder)
void run () override
Public Member Functions inherited from belfem::fem::Postprocessor
 Postprocessor (Kernel *aKernel, DofManager *aField=nullptr)
virtual ~Postprocessor ()
void set_field (DofManager *aField)
void set_source_fields (const Cell< string > &aFields)
void set_target_fields (const Cell< string > &aFields)
const Cell< string > & source_fields () const
const Cell< string > & target_fields () const
void set_block_ids (const Vector< id_t > &aBlockIDs)
void set_block_ids (const Cell< id_t > &aBlockIDs)
virtual void initialize ()
void synch_source_fields ()
void synch_target_fields (Matrix< real > &aData)
DofManagerprojector ()

Additional Inherited Members

Protected Member Functions inherited from belfem::fem::Postprocessor
const Matrix< real > & compute_poly (const Vector< real > &aX)
void recover_fields ()
virtual const Vector< real > & compute (const uint aK)
virtual void update_element_dofs ()
const Cell< id_t > & block_ids () const
const Cell< index_t > & my_element_indices () const
Protected Attributes inherited from belfem::fem::Postprocessor
const proc_t mCommRank
const proc_t mCommSize
const uint mNumDimensions
const uint mOrder
DomainType mDomainType = DomainType::Default
Cell< stringmTargetFields
Cell< stringmSourceFields
uint mNumSourceFields = 0
uint mNumTargetFields = 0
KernelmKernel = nullptr
MeshmMesh = nullptr
DofManagermField = nullptr
IWGmEquation = nullptr
MaterialmMaterial = nullptr
ElementmElement = nullptr
BlockmBlock = nullptr
CalculatormCalculator = nullptr

Detailed Description

Gradient recovery on a solved mesh.

See also
Postprocessing Module Documentation

Constructor & Destructor Documentation

◆ Gradient()

belfem::fem::Gradient::Gradient ( Kernel * aKernel,
const Vector< id_t > & aBlocksIDs,
const bool aFlipSign = false,
const uint aDofManagerIndex = 0 )

◆ ~Gradient()

belfem::fem::Gradient::~Gradient ( )
overridedefault

Member Function Documentation

◆ process_node()

void belfem::fem::Gradient::process_node ( mesh::Node * aNode)
virtual

◆ run()

void belfem::fem::Gradient::run ( )
overridevirtual

Reimplemented from belfem::fem::Postprocessor.

◆ set_fields()

void belfem::fem::Gradient::set_fields ( const string & aScalarField,
const string & aGradientField )

◆ set_order()

void belfem::fem::Gradient::set_order ( const uint aOrder)

The documentation for this class was generated from the following files: