waves
Basic FE playground
flow::Dirichlet Class Reference

Manage Dirchlet boundary condition. More...

#include <wAssign.h>

Inheritance diagram for flow::Dirichlet:
Collaboration diagram for flow::Dirichlet:

Public Member Functions

 Dirichlet (std::shared_ptr< tbox::MshData > _msh, int no, int dim, double alpha, double beta=0.0, bool pin=false)
 
 Dirichlet (std::shared_ptr< tbox::MshData > _msh, std::string const &name, int dim, double alpha, double beta=0.0)
 
virtual ~Dirichlet ()
 
virtual void write (std::ostream &out) const override
 
- Public Member Functions inherited from flow::Assign
 Assign (std::shared_ptr< tbox::MshData > _msh, int no)
 
 Assign (std::shared_ptr< tbox::MshData > _msh, std::string const &name)
 
virtual ~Assign ()
 
void apply (std::vector< double > &vec)
 Prescribe value to all nodes (default implementation) More...
 

Additional Inherited Members

- Public Attributes inherited from flow::Assign
std::vector< tbox::Node * > nodes
 nodes of the boundary More...
 
F0Psf
 position-based function to compute the boundary value More...
 

Detailed Description

Manage Dirchlet boundary condition.

Authors
Adrien Crovato

Constructor & Destructor Documentation

◆ Dirichlet() [1/2]

Dirichlet::Dirichlet ( std::shared_ptr< tbox::MshData >  _msh,
int  no,
int  dim,
double  alpha,
double  beta = 0.0,
bool  pin = false 
)

◆ Dirichlet() [2/2]

Dirichlet::Dirichlet ( std::shared_ptr< tbox::MshData >  _msh,
std::string const &  name,
int  dim,
double  alpha,
double  beta = 0.0 
)

◆ ~Dirichlet()

virtual flow::Dirichlet::~Dirichlet ( )
inlinevirtual

Member Function Documentation

◆ write()

void Dirichlet::write ( std::ostream &  out) const
overridevirtual

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