FemProcess
The GeMA Fem Process Plugin
Public Types | Public Member Functions | Public Attributes | List of all members
GmpFemPhysicsCommon::Bc Struct Reference

A QList<Value> that can be implicitely converted to a QVariant. More...

#include <gmpFemPhysicsCommon.h>

Collaboration diagram for GmpFemPhysicsCommon::Bc:
Collaboration graph
[legend]

Public Types

enum  BcType {
  Node = GmBoundaryCondition::GM_BC_NODE, Edge = GmBoundaryCondition::GM_BC_EDGE, Face = GmBoundaryCondition::GM_BC_FACE, Cell = GmBoundaryCondition::GM_BC_CELL,
  EdgeFace
}
 
enum  BcUseType { Calc, FixedForce, FixedDof }
 

Public Member Functions

 Bc ()
 Default constructor needed to enable storing a Bc in a QVariant. Builds an invalid Bc.
 
 Bc (int id, QString name, BcType bcType, BcUseType bcUseType, const Value &bcValue, const RequiredIf &required=RequiredIf(false))
 Bc constructor given a single value accessor.
 
 Bc (int id, QString name, BcType bcType, BcUseType bcUseType, const ValueList &bcValues, const RequiredIf &required=RequiredIf(false))
 Bc constructor given multiple value accessor.
 
 operator QVariant () const
 Operator to convert a Bc to a QVariant.
 

Public Attributes

int _id
 Value id storing its intended position in the values list.
 
QString _name
 Value name.
 
BcType _bcType
 Boundary condition application type.
 
BcUseType _bcUseType
 A value defining how this BC will be used by the physics.
 
ValueList _bcValues
 List with boundary condition values.
 
RequiredIf _required
 Is the value required?
 

Detailed Description

A QList<Value> that can be implicitely converted to a QVariant.

A structure used to specify boundary condition properties needed by the physics

Member Enumeration Documentation

◆ BcType

Enumerator
Node 

The boundary condition will be applied over a node.

Edge 

The boundary condition will be applied over an edge.

Face 

The boundary condition will be applied over a face.

Cell 

The boundary condition will be applied over a cell.

EdgeFace 

The boundary condition will be applied over an edge for 2D elements and over a face for 3D elements.

◆ BcUseType

Enumerator
Calc 

The boundary condition affects element matrix/vector calculations and will be treated by GmpFemPhysics::fillElementDataForBc()

FixedForce 

The boundary condition represents fixed force (f) values in K.u = f and will be treated by GmpFemPhysics::fixedNodalForcesBc()

FixedDof 

The boundary condition represents fixed dof (u) values in K.u = f and will be treated by GmpFemPhysics::fixedNodalDofsBc()


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