AbstractBC
AbstractBC
class handles the boundary condition in finite element methods. Currently, it has following subclasses.
Construction methods
There are three methods for constructing an instance of AbstractBC
.
- Construction by
Parameters
- Construction by importing data from
HDF5File
- Construction by importing data from
Toml
file.
Construction by paramters
-
The first step is to set the necessary Parameters by calling the method called SetAbstractBCParam.
-
In the second step, we define a boundary. To this end, we will use the MeshSelection.
-
In the third step, we call Initiate method. To initiate an instance of
AbstractBC
, we need to pass the boundary, paramters, and domain. -
In the fourth step, we call Set method to set the value of boundary condition.
Construction by HDF5File
We can also construct an instance of AbstractBC
by importing data from HDF5File
. See, Import method.
Construction by Toml
file
We can also construct an instance of AbstractBC
by importing data from Toml
file. See, ImportFromToml method.
All methods
📄️ Structure
AbstractBC_ is Abstract class for handling boundary conditions in finite element methods.
📄️ SetAbstractBCParam
Set the parameter for initiating the AbstractBC_.
📄️ CheckEssentialParam
Check essential parameters required for constructing the AbstractBC
📄️ Deallocate
Deallocate the AbstractBC.
📄️ Display
Display the content of AbstractBC.
📄️ Export
Export AbstractBC to hdf5 file.
📄️ Get
Get node number and nodal value from the boundary condition.
📄️ GetDOFNo
Get degree of freedom number.
📄️ GetMeshID
Get mesh-ids of boundary condition.
📄️ GetParam
Get the values of field of AbstractBC_.
📄️ GetPrefix
Get the prefix.
📄️ Import
Import AbstractBC by reading a HDF5File
📄️ ImportFromToml
Initiate an instance of AbstractBC_ from toml configuration.
📄️ Initiate
Initiate the AbstractBC
📄️ IsUseFunction
Returns true if use function option is set to true.
📄️ Set
Set the value of boundary condition.