aslFDPoroElasticityBC.h
Go to the documentation of this file.
/*
* Advanced Simulation Library <http://asl.org.il>
*
* Copyright 2015 Avtech Scientific <http://avtechscientific.com>
*
*
* This file is part of Advanced Simulation Library (ASL).
*
* ASL is free software: you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, version 3 of the License.
*
* ASL is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with ASL. If not, see <http://www.gnu.org/licenses/>.
*
*/
#ifndef ASLFDPOROELASTICITYBC_H
#define ASLFDPOROELASTICITYBC_H
#include "aslBCond.h"
#include "acl/aclMath/aclVectorOfElementsDef.h"
namespace acl{
class Kernel;
}
namespace asl
{
class FDPoroElasticity;
typedef std::shared_ptr<FDPoroElasticity> SPFDPoroElasticity;
class DistanceFunction;
typedef std::shared_ptr<DistanceFunction> SPDistanceFunction;
class PositionFunction;
typedef std::shared_ptr<PositionFunction> SPPositionFunction;
class BCRigidWallPoroElasticity:public BCond
{
protected:
std::unique_ptr<acl::Kernel> kernel;
SPFDPoroElasticity num;
acl::VectorOfElements value;
public:
BCRigidWallPoroElasticity(SPFDPoroElasticity nm);
BCRigidWallPoroElasticity(SPFDPoroElasticity nm, acl::VectorOfElements v);
~BCRigidWallPoroElasticity();
virtual void execute();
virtual void init();
};
class BCRigidWallDF: public BCondWithMap
{
protected:
std::unique_ptr<acl::Kernel> kernel;
SPFDPoroElasticity num;
SPDistanceFunction rWall;
public:
BCRigidWallDF(SPFDPoroElasticity nm,
SPDistanceFunction rw,
SPAbstractDataWithGhostNodes map);
~BCRigidWallDF();
virtual void execute();
virtual void init();
};
void addBCRigidWall(std::vector<SPNumMethod> & bcList,
SPFDPoroElasticity nm,
const std::vector<SlicesNames> & sl);
void addBCZeroStress(std::vector<SPNumMethod> & bcList,
SPFDPoroElasticity nm,
SPAbstractDataWithGhostNodes map);
void addBCZeroStress(std::vector<SPNumMethod> & bcList,
SPFDPoroElasticity nm,
SPPositionFunction p,
SPAbstractDataWithGhostNodes map);
void addBCRigidWallDF(std::vector<SPNumMethod> & bcList,
SPFDPoroElasticity nm,
SPDistanceFunction rw,
SPAbstractDataWithGhostNodes map);
void addBCRigidWallDF(std::vector<SPNumMethod> & bcList,
SPFDPoroElasticity nm,
SPAbstractDataWithGhostNodes rw,
SPAbstractDataWithGhostNodes map);
} //asl
#endif //ASLFDPOROELASTICITYBC_H
acl::VectorOfElements
The class represents several Element.
Definition: aclVectorOfElementsDef.h:92
asl::BCRigidWallDF
Bondary condition corresponding to a rigid wall ( and )
Definition: aslFDPoroElasticityBC.h:66
asl::BCRigidWallDF::kernel
std::unique_ptr< acl::Kernel > kernel
Definition: aslFDPoroElasticityBC.h:68
asl::BCRigidWallDF::init
virtual void init()
Builds the necesery internal data and kernels.
asl::BCRigidWallDF::~BCRigidWallDF
~BCRigidWallDF()
asl::BCRigidWallDF::rWall
SPDistanceFunction rWall
Definition: aslFDPoroElasticityBC.h:70
asl::BCRigidWallDF::num
SPFDPoroElasticity num
Definition: aslFDPoroElasticityBC.h:69
asl::BCRigidWallDF::BCRigidWallDF
BCRigidWallDF(SPFDPoroElasticity nm, SPDistanceFunction rw, SPAbstractDataWithGhostNodes map)
asl::BCRigidWallDF::execute
virtual void execute()
Executes the numerical procedure.
asl::BCRigidWallPoroElasticity
Bondary condition corresponding to a rigid wall ( and )
Definition: aslFDPoroElasticityBC.h:48
asl::BCRigidWallPoroElasticity::init
virtual void init()
Builds the necesery internal data and kernels.
asl::BCRigidWallPoroElasticity::BCRigidWallPoroElasticity
BCRigidWallPoroElasticity(SPFDPoroElasticity nm, acl::VectorOfElements v)
asl::BCRigidWallPoroElasticity::value
acl::VectorOfElements value
Definition: aslFDPoroElasticityBC.h:52
asl::BCRigidWallPoroElasticity::num
SPFDPoroElasticity num
Definition: aslFDPoroElasticityBC.h:51
asl::BCRigidWallPoroElasticity::kernel
std::unique_ptr< acl::Kernel > kernel
Definition: aslFDPoroElasticityBC.h:50
asl::BCRigidWallPoroElasticity::~BCRigidWallPoroElasticity
~BCRigidWallPoroElasticity()
asl::BCRigidWallPoroElasticity::BCRigidWallPoroElasticity
BCRigidWallPoroElasticity(SPFDPoroElasticity nm)
asl::BCRigidWallPoroElasticity::execute
virtual void execute()
Executes the numerical procedure.
asl::BCond
Virtual class describes general interface for boundary conditions.
Definition: aslBCond.h:59
asl::BCondWithMap
Virtual class describes general interface for boundary conditions.
Definition: aslBCond.h:101
asl::BCondWithMap::map
SPAbstractDataWithGhostNodes map
boundary description for the particular BC
Definition: aslBCond.h:111
asl::addBCZeroStress
void addBCZeroStress(std::vector< SPNumMethod > &bcList, SPFDPoroElasticity nm, SPAbstractDataWithGhostNodes map)
Bondary condition set given values to pressure.
asl::addBCRigidWallDF
void addBCRigidWallDF(std::vector< SPNumMethod > &bcList, SPFDPoroElasticity nm, SPDistanceFunction rw, SPAbstractDataWithGhostNodes map)
asl::SPDistanceFunction
std::shared_ptr< DistanceFunction > SPDistanceFunction
Definition: aslGeomInc.h:44
asl::SPPositionFunction
std::shared_ptr< PositionFunction > SPPositionFunction
Definition: aslPositionFunction.h:58
acl
Advanced Computational Language.
Definition: acl.h:41
acl::map
std::shared_ptr< T > map(ElementData m)
Definition: aclMemBlock.h:68
asl
Advanced Simulation Library.
Definition: aslDataInc.h:31
asl::SPAbstractDataWithGhostNodes
std::shared_ptr< AbstractDataWithGhostNodes > SPAbstractDataWithGhostNodes
Definition: aslGenerators.h:50
asl::SPFDPoroElasticity
std::shared_ptr< FDPoroElasticity > SPFDPoroElasticity
Definition: aslFDPoroElasticity.h:119
asl::addBCRigidWall
void addBCRigidWall(std::vector< SPNumMethod > &bcList, SPFDPoroElasticity nm, const std::vector< SlicesNames > &sl)
aslBCond.h