Added suport for grid apart from UG for BlackoilPropertiesFromDeck
This commit is contained in:
parent
c82ed437ce
commit
921c452e5c
@ -90,6 +90,45 @@ namespace Opm
|
|||||||
const parameter::ParameterGroup& param,
|
const parameter::ParameterGroup& param,
|
||||||
bool init_rock=true);
|
bool init_rock=true);
|
||||||
|
|
||||||
|
template<class T>
|
||||||
|
BlackoilPropertiesFromDeck(const EclipseGridParser& deck,
|
||||||
|
int number_of_cells,
|
||||||
|
const int* global_cell,
|
||||||
|
const int* cart_dims,
|
||||||
|
T begin_cell_centroids,
|
||||||
|
int dimension,
|
||||||
|
bool init_rock=true);
|
||||||
|
|
||||||
|
|
||||||
|
template<class T>
|
||||||
|
BlackoilPropertiesFromDeck(const EclipseGridParser& deck,
|
||||||
|
int number_of_cells,
|
||||||
|
const int* global_cell,
|
||||||
|
const int* cart_dims,
|
||||||
|
T begin_cell_centroids,
|
||||||
|
int dimension,
|
||||||
|
const parameter::ParameterGroup& param,
|
||||||
|
bool init_rock=true);
|
||||||
|
|
||||||
|
template<class T>
|
||||||
|
BlackoilPropertiesFromDeck(Opm::DeckConstPtr newParserDeck,
|
||||||
|
int number_of_cells,
|
||||||
|
const int* global_cell,
|
||||||
|
const int* cart_dims,
|
||||||
|
T begin_cell_centroids,
|
||||||
|
int dimension,
|
||||||
|
bool init_rock=true);
|
||||||
|
|
||||||
|
template<class T>
|
||||||
|
BlackoilPropertiesFromDeck(Opm::DeckConstPtr newParserDeck,
|
||||||
|
int number_of_cells,
|
||||||
|
const int* global_cell,
|
||||||
|
const int* cart_dims,
|
||||||
|
T begin_cell_centroids,
|
||||||
|
int dimension,
|
||||||
|
const parameter::ParameterGroup& param,
|
||||||
|
bool init_rock=true);
|
||||||
|
|
||||||
/// Destructor.
|
/// Destructor.
|
||||||
virtual ~BlackoilPropertiesFromDeck();
|
virtual ~BlackoilPropertiesFromDeck();
|
||||||
|
|
||||||
|
@ -1,5 +1,62 @@
|
|||||||
namespace Opm
|
namespace Opm
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
template<class T>
|
||||||
|
BlackoilPropertiesFromDeck::BlackoilPropertiesFromDeck(const EclipseGridParser& deck,
|
||||||
|
int number_of_cells,
|
||||||
|
const int* global_cell,
|
||||||
|
const int* cart_dims,
|
||||||
|
T begin_cell_centroids,
|
||||||
|
int dimension,
|
||||||
|
bool init_rock)
|
||||||
|
{
|
||||||
|
init(deck, number_of_cells, global_cell, cart_dims, begin_cell_centroids, dimension,
|
||||||
|
init_rock);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
template<class T>
|
||||||
|
BlackoilPropertiesFromDeck::BlackoilPropertiesFromDeck(const EclipseGridParser& deck,
|
||||||
|
int number_of_cells,
|
||||||
|
const int* global_cell,
|
||||||
|
const int* cart_dims,
|
||||||
|
T begin_cell_centroids,
|
||||||
|
int dimension,
|
||||||
|
const parameter::ParameterGroup& param,
|
||||||
|
bool init_rock)
|
||||||
|
{
|
||||||
|
init(deck, number_of_cells, global_cell, cart_dims, begin_cell_centroids, dimension,
|
||||||
|
param, init_rock);
|
||||||
|
}
|
||||||
|
|
||||||
|
template<class T>
|
||||||
|
BlackoilPropertiesFromDeck::BlackoilPropertiesFromDeck(Opm::DeckConstPtr newParserDeck,
|
||||||
|
int number_of_cells,
|
||||||
|
const int* global_cell,
|
||||||
|
const int* cart_dims,
|
||||||
|
T begin_cell_centroids,
|
||||||
|
int dimension,
|
||||||
|
bool init_rock)
|
||||||
|
{
|
||||||
|
init(newParserDeck, number_of_cells, global_cell, cart_dims, begin_cell_centroids, dimension,
|
||||||
|
init_rock);
|
||||||
|
}
|
||||||
|
|
||||||
|
template<class T>
|
||||||
|
BlackoilPropertiesFromDeck::BlackoilPropertiesFromDeck(Opm::DeckConstPtr newParserDeck,
|
||||||
|
int number_of_cells,
|
||||||
|
const int* global_cell,
|
||||||
|
const int* cart_dims,
|
||||||
|
T begin_cell_centroids,
|
||||||
|
int dimension,
|
||||||
|
const parameter::ParameterGroup& param,
|
||||||
|
bool init_rock)
|
||||||
|
{
|
||||||
|
init(newParserDeck, number_of_cells, global_cell, cart_dims, begin_cell_centroids, dimension,
|
||||||
|
param, init_rock);
|
||||||
|
}
|
||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
void BlackoilPropertiesFromDeck::init(const EclipseGridParser& deck,
|
void BlackoilPropertiesFromDeck::init(const EclipseGridParser& deck,
|
||||||
int number_of_cells,
|
int number_of_cells,
|
||||||
|
Loading…
Reference in New Issue
Block a user