DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
DNDS::CFV::FiniteVolumeSettings Struct Reference

A means to translate nlohmann json into c++ primitive data types and back; and stores then during computation. More...

#include <FiniteVolumeSettings.hpp>

Inheritance diagram for DNDS::CFV::FiniteVolumeSettings:
[legend]

Public Types

using json = nlohmann::ordered_json
 

Public Member Functions

DNDS_DEVICE_CALLABLE FiniteVolumeSettings ()=default
 
DNDS_DEVICE_CALLABLE FiniteVolumeSettings (int dim)
 
 DNDS_DECLARE_CONFIG (FiniteVolumeSettings)
 
DNDS_HOST void WriteIntoJson (json &jsonSetting) const
 Backward-compatible write (used by Python bindings and VRSettings).
 
DNDS_HOST void ParseFromJson (const json &jsonSetting)
 Backward-compatible read (used by Python bindings and VRSettings).
 

Public Attributes

int maxOrder {1}
 
int intOrder {1}
 polynomial degree of reconstruction
 
bool ignoreMeshGeometryDeficiency = false
 integration degree globally set
 
int nIterCellSmoothScale = 15
 

Detailed Description

A means to translate nlohmann json into c++ primitive data types and back; and stores then during computation.

Definition at line 22 of file FiniteVolumeSettings.hpp.

Member Typedef Documentation

◆ json

using DNDS::CFV::FiniteVolumeSettings::json = nlohmann::ordered_json

Definition at line 24 of file FiniteVolumeSettings.hpp.

Constructor & Destructor Documentation

◆ FiniteVolumeSettings() [1/2]

DNDS_DEVICE_CALLABLE DNDS::CFV::FiniteVolumeSettings::FiniteVolumeSettings ( )
default

◆ FiniteVolumeSettings() [2/2]

DNDS_DEVICE_CALLABLE DNDS::CFV::FiniteVolumeSettings::FiniteVolumeSettings ( int  dim)
inline

Definition at line 39 of file FiniteVolumeSettings.hpp.

Member Function Documentation

◆ DNDS_DECLARE_CONFIG()

DNDS::CFV::FiniteVolumeSettings::DNDS_DECLARE_CONFIG ( FiniteVolumeSettings  )
inline

Definition at line 43 of file FiniteVolumeSettings.hpp.

Here is the call graph for this function:

◆ ParseFromJson()

DNDS_HOST void DNDS::CFV::FiniteVolumeSettings::ParseFromJson ( const json jsonSetting)
inline

Backward-compatible read (used by Python bindings and VRSettings).

Definition at line 61 of file FiniteVolumeSettings.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WriteIntoJson()

DNDS_HOST void DNDS::CFV::FiniteVolumeSettings::WriteIntoJson ( json jsonSetting) const
inline

Backward-compatible write (used by Python bindings and VRSettings).

Definition at line 55 of file FiniteVolumeSettings.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ ignoreMeshGeometryDeficiency

bool DNDS::CFV::FiniteVolumeSettings::ignoreMeshGeometryDeficiency = false

integration degree globally set

Note
this is actually reduced somewhat

Definition at line 28 of file FiniteVolumeSettings.hpp.

◆ intOrder

int DNDS::CFV::FiniteVolumeSettings::intOrder {1}

polynomial degree of reconstruction

Definition at line 27 of file FiniteVolumeSettings.hpp.

◆ maxOrder

int DNDS::CFV::FiniteVolumeSettings::maxOrder {1}

Definition at line 26 of file FiniteVolumeSettings.hpp.

◆ nIterCellSmoothScale

int DNDS::CFV::FiniteVolumeSettings::nIterCellSmoothScale = 15

Definition at line 30 of file FiniteVolumeSettings.hpp.


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