xc
Classes | Public Member Functions | List of all members
IntegrationPoints Class Reference

Integration points container. More...

#include <IntegrationPoints.h>

Public Member Functions

 IntegrationPoints ()
 Constructor por defecto.
 
 IntegrationPoints (const IntegrationPoints &)
 Copy constructor.
 
 IntegrationPoints (int nr)
 Constructor. More...
 
 ~IntegrationPoints ()
 Destructor.
 
void set_nr_intpt (int nr)
 Set the number of integration points.
 
int get_nr_intpt () const
 Return the number of integration points.
 
void set_values (int ip, const m_double &coor, const double &weight)
 Sets the natural coordinates and the weight to the integration point. More...
 
m_double get_coor (int ip) const
 Return the natural coordinates of the integration point. More...
 
double get_weight (int ip) const
 Return the weigth of the integration point with the index beint passed as parmeter. More...
 

Detailed Description

Integration points container.

Constructor & Destructor Documentation

◆ IntegrationPoints()

IntegrationPoints::IntegrationPoints ( int  nr)

Constructor.

Parameters
nrNumber of integration points.

Member Function Documentation

◆ get_coor()

m_double IntegrationPoints::get_coor ( int  ip) const

Return the natural coordinates of the integration point.

Parameters
ipindex of the integration point.

◆ get_weight()

double IntegrationPoints::get_weight ( int  ip) const

Return the weigth of the integration point with the index beint passed as parmeter.

◆ set_values()

void IntegrationPoints::set_values ( int  ip,
const m_double coor,
const double &  wght 
)

Sets the natural coordinates and the weight to the integration point.

Parameters
ipindex of the integration point.
coornatural coordinates.
wghtweight of the integration point.

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