FemViewer::Field Class Reference

#include <Field.h>

Inheritance diagram for FemViewer::Field:
Inheritance graph
[legend]
Collaboration diagram for FemViewer::Field:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Field (Mesh &pmesh_, const std::string &name_="")
 ~Field ()
int Init (const int parent_id_, const char *file_name_)
void CalculateMinMaxValues (double &min_value, double &max_value, std::vector< double > &vec_values, const int ctrl=1) const
size_t CountCoeffs (std::vector< int > *degree_ptr=nullptr) const
size_t PackCoeffs (std::vector< mfvFloat_t > &Coeffs, std::vector< int > &Degree)
int Free ()
void Reset ()
void Clear ()
void Render () const
int GetMinimalDegree () const
int GetMaximalDegree () const
double GetMinimalValue () const
double GetMaximalValue () const
int RenderDG (std::vector< Vertex > &out_vertices, std::vector< unsigned > &out_indices, std::vector< int > &out_counts, std::vector< int64_t > &out_offsets)
int RenderDGCutted (const std::vector< CutPlane > &vplanes, std::vector< Vertex > &out_vertices, std::vector< unsigned > &out_indices)
int RenderSTD (std::vector< Vertex > &out_vertices, std::vector< unsigned > &out_indices)
template<typename T = double>
int GetElementDofs (int nel, T Dofs[]) const
int GetElementDegree (int nel) const
int GetElementBaseType (int nel) const
int GetNumberOfShapeFunc (int nel, int *degree) const
int GetDegreeVector (int nel, int Pdeg[]) const
int CalculateSolution (int control, int pdeg, int base, double *ElCoords, double *Ploc, double *Coeffs, double *Sol, double *DSolx=NULL, double *DSoly=NULL, double *DSolz=NULL) const
template<>
int GetElementDofs (int nel, float Dofs[]) const

Static Public Member Functions

static uint32_t FillArrayWithCoeffs (const Field *pField, CoordType Coeffs[])

Friends

class ModelControler

Constructor & Destructor Documentation

FemViewer::Field::Field ( Mesh pmesh_,
const std::string &  name_ = "" 
) [explicit]

Here is the call graph for this function:

FemViewer::Field::~Field (  ) 

Here is the call graph for this function:


Member Function Documentation

void FemViewer::Field::CalculateMinMaxValues ( double &  min_value,
double &  max_value,
std::vector< double > &  vec_values,
const int  ctrl = 1 
) const

Here is the call graph for this function:

Here is the caller graph for this function:

int FemViewer::Field::CalculateSolution ( int  control,
int  pdeg,
int  base,
double *  ElCoords,
double *  Ploc,
double *  Coeffs,
double *  Sol,
double *  DSolx = NULL,
double *  DSoly = NULL,
double *  DSolz = NULL 
) const

Here is the caller graph for this function:

void FemViewer::Field::Clear (  ) 
size_t FemViewer::Field::CountCoeffs ( std::vector< int > *  degree_ptr = nullptr  )  const

Here is the call graph for this function:

Here is the caller graph for this function:

uint32_t FemViewer::Field::FillArrayWithCoeffs ( const Field pField,
CoordType  Coeffs[] 
) [static]

Here is the call graph for this function:

int FemViewer::Field::Free (  )  [virtual]

Reimplemented from FemViewer::BaseField.

Here is the caller graph for this function:

int FemViewer::Field::GetDegreeVector ( int  nel,
int  Pdeg[] 
) const

Here is the call graph for this function:

Here is the caller graph for this function:

int FemViewer::Field::GetElementBaseType ( int  nel  )  const [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

int FemViewer::Field::GetElementDegree ( int  nel  )  const [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

template<>
int FemViewer::Field::GetElementDofs ( int  nel,
float  Dofs[] 
) const [inline]
template<typename T = double>
int FemViewer::Field::GetElementDofs ( int  nel,
T  Dofs[] 
) const [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

int FemViewer::Field::GetMaximalDegree (  )  const [inline]
double FemViewer::Field::GetMaximalValue (  )  const [inline]

Here is the caller graph for this function:

int FemViewer::Field::GetMinimalDegree (  )  const [inline]
double FemViewer::Field::GetMinimalValue (  )  const [inline]

Here is the caller graph for this function:

int FemViewer::Field::GetNumberOfShapeFunc ( int  nel,
int *  degree 
) const [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

int FemViewer::Field::Init ( const int  parent_id_,
const char *  file_name_ 
)

Here is the call graph for this function:

Here is the caller graph for this function:

size_t FemViewer::Field::PackCoeffs ( std::vector< mfvFloat_t > &  Coeffs,
std::vector< int > &  Degree 
)

Here is the call graph for this function:

void FemViewer::Field::Render (  )  const
int FemViewer::Field::RenderDG ( std::vector< Vertex > &  out_vertices,
std::vector< unsigned > &  out_indices,
std::vector< int > &  out_counts,
std::vector< int64_t > &  out_offsets 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int FemViewer::Field::RenderDGCutted ( const std::vector< CutPlane > &  vplanes,
std::vector< Vertex > &  out_vertices,
std::vector< unsigned > &  out_indices 
)

Here is the call graph for this function:

int FemViewer::Field::RenderSTD ( std::vector< Vertex > &  out_vertices,
std::vector< unsigned > &  out_indices 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void FemViewer::Field::Reset ( void   )  [virtual]

Reimplemented from FemViewer::BaseField.

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class ModelControler [friend]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1