v0.15.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
MoFEM::BcManager::BCs Struct Reference

Data structure storing boundary condition markers and attributes. More...

#include "src/interfaces/BcManager.hpp"

Inheritance diagram for MoFEM::BcManager::BCs:
[legend]
Collaboration diagram for MoFEM::BcManager::BCs:
[legend]

Public Types

using DofsView = std::vector< boost::weak_ptr< NumeredDofEntity > >
 

Public Member Functions

DEPRECATED auto getBcEdgesPtr ()
 Get shared pointer to boundary condition entities.
 
auto getBcEntsPtr ()
 Get shared pointer to boundary condition entities.
 
auto getBcMarkersPtr ()
 Get shared pointer to boundary condition markers.
 

Public Attributes

Range bcEnts
 Range of entities in the boundary condition block.
 
std::vector< doublebcAttributes
 Numerical attributes (material properties, etc.)
 
std::vector< unsigned char > bcMarkers
 DOF markers for boundary condition application.
 
boost::shared_ptr< DofsViewdofsViewPtr
 View of DOFs associated with boundary condition.
 
boost::shared_ptr< DisplacementCubitBcDatadispBcPtr
 Displacement boundary condition data.
 
boost::shared_ptr< TemperatureCubitBcDatatempBcPtr
 Temperature boundary condition data.
 
boost::shared_ptr< HeatFluxCubitBcDataheatFluxBcPtr
 Heat flux boundary condition data.
 
boost::shared_ptr< ForceCubitBcDataforceBcPtr
 Force boundary condition data.
 
boost::shared_ptr< PressureCubitBcDatapressureBcPtr
 Pressure boundary condition data.
 

Detailed Description

Data structure storing boundary condition markers and attributes.

The BCs structure encapsulates all data associated with a boundary condition block, including entity ranges, DOF markers, attributes, and type-specific boundary condition data. It provides shared pointer access to component data for efficient memory management and integration with finite element operations.

Definition at line 413 of file BcManager.hpp.

Member Typedef Documentation

◆ DofsView

using MoFEM::BcManager::BCs::DofsView = std::vector<boost::weak_ptr<NumeredDofEntity> >

Definition at line 418 of file BcManager.hpp.

Member Function Documentation

◆ getBcEdgesPtr()

DEPRECATED auto MoFEM::BcManager::BCs::getBcEdgesPtr ( )
inline

Get shared pointer to boundary condition entities.

Deprecated:
Use getBcEntsPtr() instead
Returns
boost::shared_ptr<Range> Shared pointer to entity range

Definition at line 432 of file BcManager.hpp.

432 {
433 return boost::shared_ptr<Range>(shared_from_this(), &bcEnts);
434 }
Range bcEnts
Range of entities in the boundary condition block.

◆ getBcEntsPtr()

auto MoFEM::BcManager::BCs::getBcEntsPtr ( )
inline

Get shared pointer to boundary condition entities.

Provides safe shared access to the entity range for the boundary condition. The shared pointer ensures proper lifetime management when the entity range is used across different parts of the application.

Returns
boost::shared_ptr<Range> Shared pointer to entity range

Definition at line 445 of file BcManager.hpp.

445 {
446 return boost::shared_ptr<Range>(shared_from_this(), &bcEnts);
447 }

◆ getBcMarkersPtr()

auto MoFEM::BcManager::BCs::getBcMarkersPtr ( )
inline

Get shared pointer to boundary condition markers.

Provides safe shared access to the DOF marker vector. Markers are used to identify which DOFs should be constrained or modified by the boundary condition during finite element assembly and solving.

Returns
boost::shared_ptr<std::vector<unsigned char>> Shared pointer to marker vector

Definition at line 458 of file BcManager.hpp.

458 {
459 return boost::shared_ptr<std::vector<unsigned char>>(shared_from_this(),
460 &bcMarkers);
461 }
std::vector< unsigned char > bcMarkers
DOF markers for boundary condition application.

Member Data Documentation

◆ bcAttributes

std::vector<double> MoFEM::BcManager::BCs::bcAttributes

Numerical attributes (material properties, etc.)

Definition at line 415 of file BcManager.hpp.

◆ bcEnts

Range MoFEM::BcManager::BCs::bcEnts

Range of entities in the boundary condition block.

Definition at line 414 of file BcManager.hpp.

◆ bcMarkers

std::vector<unsigned char> MoFEM::BcManager::BCs::bcMarkers

DOF markers for boundary condition application.

Definition at line 416 of file BcManager.hpp.

◆ dispBcPtr

boost::shared_ptr<DisplacementCubitBcData> MoFEM::BcManager::BCs::dispBcPtr

Displacement boundary condition data.

Definition at line 421 of file BcManager.hpp.

◆ dofsViewPtr

boost::shared_ptr<DofsView> MoFEM::BcManager::BCs::dofsViewPtr

View of DOFs associated with boundary condition.

Definition at line 419 of file BcManager.hpp.

◆ forceBcPtr

boost::shared_ptr<ForceCubitBcData> MoFEM::BcManager::BCs::forceBcPtr

Force boundary condition data.

Definition at line 424 of file BcManager.hpp.

◆ heatFluxBcPtr

boost::shared_ptr<HeatFluxCubitBcData> MoFEM::BcManager::BCs::heatFluxBcPtr

Heat flux boundary condition data.

Definition at line 423 of file BcManager.hpp.

◆ pressureBcPtr

boost::shared_ptr<PressureCubitBcData> MoFEM::BcManager::BCs::pressureBcPtr

Pressure boundary condition data.

Definition at line 425 of file BcManager.hpp.

◆ tempBcPtr

boost::shared_ptr<TemperatureCubitBcData> MoFEM::BcManager::BCs::tempBcPtr

Temperature boundary condition data.

Definition at line 422 of file BcManager.hpp.


The documentation for this struct was generated from the following file: