waves
Basic FE playground
flow::Assign Class Reference

Manage assign type condition. More...

#include <wAssign.h>

Inheritance diagram for flow::Assign:
Collaboration diagram for flow::Assign:

Public Member Functions

 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...
 

Public Attributes

std::vector< tbox::Node * > nodes
 nodes of the boundary More...
 
F0Psf
 position-based function to compute the boundary value More...
 

Private Member Functions

void getNodes ()
 Get all nodes belonging to boundary tag. More...
 

Detailed Description

Manage assign type condition.

Authors
Adrien Crovato

Constructor & Destructor Documentation

◆ Assign() [1/2]

flow::Assign::Assign ( std::shared_ptr< tbox::MshData >  _msh,
int  no 
)

◆ Assign() [2/2]

flow::Assign::Assign ( std::shared_ptr< tbox::MshData >  _msh,
std::string const &  name 
)

◆ ~Assign()

Assign::~Assign ( )
virtual

Member Function Documentation

◆ apply()

void Assign::apply ( std::vector< double > &  vec)

Prescribe value to all nodes (default implementation)

◆ getNodes()

void Assign::getNodes ( )
private

Get all nodes belonging to boundary tag.

Member Data Documentation

◆ f

F0Ps* flow::Assign::f

position-based function to compute the boundary value

◆ nodes

std::vector<tbox::Node *> flow::Assign::nodes

nodes of the boundary


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