ASL 0.1.7
Advanced Simulation Library
Loading...
Searching...
No Matches
asl::BCFreeSurface2 Class Reference

Bondary condition corresponding to a free surface ( \(\partial_{\vec n}u=0\)). More...

#include <aslFDElasticityBC.h>

Inheritance diagram for asl::BCFreeSurface2:
asl::BCond asl::NumMethod

Public Member Functions

 BCFreeSurface2 (SPFDElasticity2 nm)
 ~BCFreeSurface2 ()
virtual void execute ()
 Executes the numerical procedure.
virtual void init ()
 Builds the necesery internal data and kernels.
Public Member Functions inherited from asl::BCond
 BCond (const Block &b)
 BCond (const Block &b, const VectorTemplate *const t)
void addPoint (AVec< int > a, int d=0, double fr=0)
const BlockgetBlock ()
const VectorTemplategetVT ()
Public Member Functions inherited from asl::NumMethod
virtual ~NumMethod ()

Protected Attributes

std::unique_ptr< acl::Kernelkernel
SPFDElasticity2 num
Protected Attributes inherited from asl::BCond
Block block
const VectorTemplate *const templ
std::vector< int > indices
std::vector< int > directions
std::vector< double > fractions
std::vector< int > neighbourIndices
acl::SPVectorOfElementsData indicesACL
acl::SPVectorOfElementsData neighbourIndicesACL
acl::SPVectorOfElementsData directionsACL
acl::SPVectorOfElementsData fractionsACL

Additional Inherited Members

Protected Member Functions inherited from asl::BCond
void loadIndicesToACL ()
void loadNeighbourIndicesToACL ()
void loadDirectionsToACL ()
void loadfractionsACL ()

Detailed Description

Bondary condition corresponding to a free surface ( \(\partial_{\vec n}u=0\)).

Note
The free boundary conditions have a different mathematical formulation, see BCFreeSurface2Real
Examples
jumpingBox.cc.

Definition at line 142 of file aslFDElasticityBC.h.

Constructor & Destructor Documentation

◆ BCFreeSurface2()

asl::BCFreeSurface2::BCFreeSurface2 ( SPFDElasticity2 nm)

◆ ~BCFreeSurface2()

asl::BCFreeSurface2::~BCFreeSurface2 ( )

Member Function Documentation

◆ execute()

virtual void asl::BCFreeSurface2::execute ( )
virtual

Executes the numerical procedure.

Implements asl::NumMethod.

Examples
jumpingBox.cc.

◆ init()

virtual void asl::BCFreeSurface2::init ( )
virtual

Builds the necesery internal data and kernels.

Implements asl::NumMethod.

Examples
jumpingBox.cc.

Member Data Documentation

◆ kernel

std::unique_ptr<acl::Kernel> asl::BCFreeSurface2::kernel
protected

Definition at line 145 of file aslFDElasticityBC.h.

◆ num

SPFDElasticity2 asl::BCFreeSurface2::num
protected

Definition at line 146 of file aslFDElasticityBC.h.


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