Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
bitpit::pod::PODMode Struct Reference

The PODMode structure is used to store the modes inside pod classes. More...

#include <pod_common.hpp>

Public Member Functions

 PODMode ()
 
 PODMode (int nsf, int nvf, const PiercedKernel< long > *lkernel=nullptr)
 
void clear ()
 

Public Attributes

std::unique_ptr< pod::ScalarStoragescalar
 
std::unique_ptr< pod::VectorStoragevector
 

Detailed Description

The PODMode structure is used to store the modes inside pod classes.

Definition at line 215 of file pod_common.hpp.

Constructor & Destructor Documentation

◆ PODMode() [1/2]

bitpit::pod::PODMode::PODMode ( )
inline

Creates a new empty pod mode.

Definition at line 223 of file pod_common.hpp.

◆ PODMode() [2/2]

bitpit::pod::PODMode::PODMode ( int nsf,
int nvf,
const PiercedKernel< long > * lkernel = nullptr )
inline

Creates a new empty pod mode with fixed number of scalar and vector fields and optional linked kernel.

Parameters
[in]nsf# of scalar fields.
[in]nvf# of vector fields
[in]lkernelLinked kernel.

Definition at line 236 of file pod_common.hpp.

Member Function Documentation

◆ clear()

void bitpit::pod::PODMode::clear ( )
inline

Clear a pod mode.

Definition at line 245 of file pod_common.hpp.

Member Data Documentation

◆ scalar

std::unique_ptr<pod::ScalarStorage> bitpit::pod::PODMode::scalar

Scalar fields.

Definition at line 217 of file pod_common.hpp.

◆ vector

std::unique_ptr<pod::VectorStorage> bitpit::pod::PODMode::vector

Vector fields.

Definition at line 218 of file pod_common.hpp.


The documentation for this struct was generated from the following file:
--- layout: doxygen_footer ---