dynLattice
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
SymBCModel Class Reference

Model for symmetry boundary conditions on plane symmetric domains. More...

#include "SymBCModel.h"

Inheritance diagram for SymBCModel:
Inheritance graph
[legend]
Collaboration diagram for SymBCModel:
Collaboration graph
[legend]

Public Member Functions

 SymBCModel (const String &name, const Properties &conf, const Properties &props, const Properties &globdat)
 Constructor.
 
virtual bool takeAction (const String &action, const Properties &params, const Properties &globdat) override
 Handle model actions.
 

Static Public Member Functions

static Ref< Model > makeNew (const String &name, const Properties &conf, const Properties &props, const Properties &globdat)
 Create new SymBCModel instance.
 
static void declare ()
 Declare model type to factory.
 

Static Public Attributes

Property identifiers
static const char * TYPE_NAME = "SymBC"
 Model type name.
 
static const char * DOF_OPPO_NAMES_PROP = "oppo_dofs"
 Opposing DOF names property.
 
static const char * DOF_EQUAL_NAMES_PROP = "equal_dofs"
 Equal DOF names property.
 
static const char * SURFACES_PROP = "surfaces"
 Surface pairs property.
 

Detailed Description

The SymBCModel implements plane symmetry boundary conditions that enforce constraints between symmetric surfaces. It supports two types of symmetry: opposing DOFs (antisymmetric) and equal DOFs (symmetric). Surface pairs are automatically constrained based on the specified symmetry type.

Features:

Constructor & Destructor Documentation

◆ SymBCModel()

SymBCModel::SymBCModel ( const String &  name,
const Properties &  conf,
const Properties &  props,
const Properties &  globdat 
)
explicit
Parameters
nameModel name
confActually used configuration properties (output)
propsUser-specified model properties
globdatGlobal data container

Member Function Documentation

◆ declare()

void SymBCModel::declare ( )
static

◆ makeNew()

Ref< Model > SymBCModel::makeNew ( const String &  name,
const Properties &  conf,
const Properties &  props,
const Properties &  globdat 
)
static
Parameters
nameModel name
confActually used configuration properties (output)
propsUser-specified model properties
globdatGlobal data container
Returns
New model instance

◆ takeAction()

bool SymBCModel::takeAction ( const String &  action,
const Properties &  params,
const Properties &  globdat 
)
overridevirtual
Parameters
actionAction name
paramsAction parameters
globdatGlobal data container
Returns
true if action was handled

Member Data Documentation

◆ DOF_EQUAL_NAMES_PROP

const char * SymBCModel::DOF_EQUAL_NAMES_PROP = "equal_dofs"
static

◆ DOF_OPPO_NAMES_PROP

const char * SymBCModel::DOF_OPPO_NAMES_PROP = "oppo_dofs"
static

◆ SURFACES_PROP

const char * SymBCModel::SURFACES_PROP = "surfaces"
static

◆ TYPE_NAME

const char * SymBCModel::TYPE_NAME = "SymBC"
static